Revision 20ecb499f64a7e8e7fe03f6098ab25c71b7a6481 authored by Guenter Roeck on 24 September 2011, 22:27:04 UTC, committed by Guenter Roeck on 28 September 2011, 15:19:21 UTC
Storing the struct temp_data pointer allocated from create_core_data() when returning an error has the potential of leaving around a pointer to freed memory. Reset it to NULL for error returns. Reported-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com> Acked-by: Jean Delvare <khali@linux-fr.org>
1 parent 0eb9782
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 640 bytes |
Makefile | -rw-r--r-- | 207 bytes |
alloc.c | -rw-r--r-- | 10.7 KB |
anode.c | -rw-r--r-- | 15.3 KB |
buffer.c | -rw-r--r-- | 3.7 KB |
dentry.c | -rw-r--r-- | 1.5 KB |
dir.c | -rw-r--r-- | 8.6 KB |
dnode.c | -rw-r--r-- | 30.9 KB |
ea.c | -rw-r--r-- | 11.3 KB |
file.c | -rw-r--r-- | 4.2 KB |
hpfs.h | -rw-r--r-- | 18.3 KB |
hpfs_fn.h | -rw-r--r-- | 12.3 KB |
inode.c | -rw-r--r-- | 8.6 KB |
map.c | -rw-r--r-- | 8.3 KB |
name.c | -rw-r--r-- | 3.2 KB |
namei.c | -rw-r--r-- | 15.6 KB |
super.c | -rw-r--r-- | 18.4 KB |
Computing file changes ...