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
History
File Mode Size
Kconfig -rw-r--r-- 1003 bytes
Makefile -rw-r--r-- 321 bytes
cache.c -rw-r--r-- 3.0 KB
cnode.c -rw-r--r-- 4.8 KB
coda_cache.h -rw-r--r-- 673 bytes
coda_fs_i.h -rw-r--r-- 1.9 KB
coda_int.h -rw-r--r-- 437 bytes
coda_linux.c -rw-r--r-- 5.0 KB
coda_linux.h -rw-r--r-- 3.0 KB
dir.c -rw-r--r-- 16.3 KB
file.c -rw-r--r-- 6.2 KB
inode.c -rw-r--r-- 7.2 KB
pioctl.c -rw-r--r-- 2.1 KB
psdev.c -rw-r--r-- 10.2 KB
symlink.c -rw-r--r-- 1.1 KB
sysctl.c -rw-r--r-- 1.3 KB
upcall.c -rw-r--r-- 22.8 KB

back to top