diff options
author | Jesper Juhl <jesper.juhl@gmail.com> | 2006-04-18 22:21:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-19 09:13:52 -0700 |
commit | aa1e816fc92215f94bdfd90107baae8fdc2440d1 (patch) | |
tree | 1d520ff39b65a7d3a5f68008eb44ea15c63e0d96 /mm/Kconfig | |
parent | 9dfb563b07b1aafcd7d40528ebfa7f9ce28f0556 (diff) |
[PATCH] Fix potential NULL pointer deref in gen_init_cpio
Fix potential NULL pointer deref in gen_init_cpio.c spotted by coverity
checker. This fixes coverity bug #86
Without this patch we risk dereferencing a NULL `type' in the
"if ('\n' == *type) {" line.
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/Kconfig')
0 files changed, 0 insertions, 0 deletions