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-- | 8.9 KB |
Makefile | -rw-r--r-- | 620 bytes |
acorn.c | -rw-r--r-- | 12.3 KB |
acorn.h | -rw-r--r-- | 488 bytes |
amiga.c | -rw-r--r-- | 3.6 KB |
amiga.h | -rw-r--r-- | 89 bytes |
atari.c | -rw-r--r-- | 3.9 KB |
atari.h | -rw-r--r-- | 1.0 KB |
check.c | -rw-r--r-- | 16.6 KB |
check.h | -rw-r--r-- | 1.0 KB |
efi.c | -rw-r--r-- | 20.7 KB |
efi.h | -rw-r--r-- | 4.3 KB |
ibm.c | -rw-r--r-- | 6.8 KB |
ibm.h | -rw-r--r-- | 47 bytes |
karma.c | -rw-r--r-- | 1.1 KB |
karma.h | -rw-r--r-- | 124 bytes |
ldm.c | -rw-r--r-- | 44.1 KB |
ldm.h | -rw-r--r-- | 5.4 KB |
mac.c | -rw-r--r-- | 3.3 KB |
mac.h | -rw-r--r-- | 1.2 KB |
msdos.c | -rw-r--r-- | 15.2 KB |
msdos.h | -rw-r--r-- | 124 bytes |
osf.c | -rw-r--r-- | 1.9 KB |
osf.h | -rw-r--r-- | 123 bytes |
sgi.c | -rw-r--r-- | 2.2 KB |
sgi.h | -rw-r--r-- | 128 bytes |
sun.c | -rw-r--r-- | 3.7 KB |
sun.h | -rw-r--r-- | 169 bytes |
sysv68.c | -rw-r--r-- | 1.9 KB |
sysv68.h | -rw-r--r-- | 62 bytes |
ultrix.c | -rw-r--r-- | 1.2 KB |
ultrix.h | -rw-r--r-- | 90 bytes |
Computing file changes ...