diff options
| author | Jim Meyering <[email protected]> | 2008-02-08 04:22:09 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-02-08 09:22:43 -0800 |
| commit | 11a7ac23a2d7464a74ceb7b97dbae4d5a0208576 (patch) | |
| tree | 9b4f26d1675ef802b82b01a8780a58d21c17bd2a /Documentation/filesystems/configfs/configfs_example.c | |
| parent | 5134d8fea06ab51459fd095d091d1e6f73a44553 (diff) | |
uml: improved error handling while locating temp dir
* arch/um/os-Linux/mem.c (make_tempfile): Don't deref NULL upon failed malloc.
* arch/um/os-Linux/mem.c (make_tempfile): Handle NULL tempdir.
Don't let a long tempdir (e.g., via TMPDIR) provoke heap corruption.
[ jdike - formatting cleanups, deleted obsolete comment ]
Signed-off-by: Jim Meyering <[email protected]>
Signed-off-by: Jeff Dike <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'Documentation/filesystems/configfs/configfs_example.c')
0 files changed, 0 insertions, 0 deletions