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-- 686 bytes
Makefile -rw-r--r-- 182 bytes
vxfs.h -rw-r--r-- 9.1 KB
vxfs_bmap.c -rw-r--r-- 7.2 KB
vxfs_dir.h -rw-r--r-- 3.2 KB
vxfs_extern.h -rw-r--r-- 3.0 KB
vxfs_fshead.c -rw-r--r-- 5.4 KB
vxfs_fshead.h -rw-r--r-- 2.5 KB
vxfs_immed.c -rw-r--r-- 3.5 KB
vxfs_inode.c -rw-r--r-- 9.0 KB
vxfs_inode.h -rw-r--r-- 5.4 KB
vxfs_lookup.c -rw-r--r-- 7.9 KB
vxfs_olt.c -rw-r--r-- 3.6 KB
vxfs_olt.h -rw-r--r-- 4.4 KB
vxfs_subr.c -rw-r--r-- 4.6 KB
vxfs_super.c -rw-r--r-- 7.2 KB

back to top