]> git.hungrycats.org Git - linux/commit
[PATCH] fix possible NULL pointer in fs/ext3/super.c.
authorAndrew Morton <akpm@osdl.org>
Thu, 3 Jun 2004 01:00:14 +0000 (18:00 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 3 Jun 2004 01:00:14 +0000 (18:00 -0700)
commit65852349721e4e9a941ee42d92c8a7947324771d
treeebf8cad87a916e45bd8e819be07079fa02cd89c7
parent9b82900ad0e9ae8cac5f04fc6c8e100f94d20b3a
[PATCH] fix possible NULL pointer in fs/ext3/super.c.

From: "Luiz Fernando N. Capitulino" <lcapitulino@prefeitura.sp.gov.br>

In fs/ext3/super.c::ext3_get_journal() at line 1675 `journal' can be NULL,
but it is not handled right (detect by Coverity's checker).

Signed-off by: Luiz Capitulino <lcapitulino@prefeitura.sp.gov.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ext3/super.c