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-- | 1.7 KB |
Makefile | -rw-r--r-- | 380 bytes |
acl.c | -rw-r--r-- | 9.0 KB |
acl.h | -rw-r--r-- | 1.5 KB |
balloc.c | -rw-r--r-- | 44.8 KB |
dir.c | -rw-r--r-- | 17.8 KB |
ext2.h | -rw-r--r-- | 6.3 KB |
file.c | -rw-r--r-- | 2.8 KB |
ialloc.c | -rw-r--r-- | 18.2 KB |
inode.c | -rw-r--r-- | 44.5 KB |
ioctl.c | -rw-r--r-- | 4.3 KB |
namei.c | -rw-r--r-- | 9.5 KB |
super.c | -rw-r--r-- | 40.8 KB |
symlink.c | -rw-r--r-- | 1.3 KB |
xattr.c | -rw-r--r-- | 28.0 KB |
xattr.h | -rw-r--r-- | 3.4 KB |
xattr_security.c | -rw-r--r-- | 1.9 KB |
xattr_trusted.c | -rw-r--r-- | 1.5 KB |
xattr_user.c | -rw-r--r-- | 1.6 KB |
xip.c | -rw-r--r-- | 2.0 KB |
xip.h | -rw-r--r-- | 759 bytes |
Computing file changes ...