]> err.no Git - linux-2.6/commit
[PATCH] affs: possible null pointer dereference in affs_rename()
authorFlorin Malita <fmalita@gmail.com>
Fri, 26 May 2006 01:44:23 +0000 (18:44 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 26 May 2006 18:55:46 +0000 (11:55 -0700)
commit3ac8141366932a74fd8620afaebd66960c91196d
tree1e6d0cc5bbf10f940ba93346b489c9893c7a2bf7
parent9084533e797f131c923c8883adf91cc2f7ddcfae
[PATCH] affs: possible null pointer dereference in affs_rename()

If affs_bread() fails, the exit path calls mark_buffer_dirty_inode() with a
NULL argument.

Coverity CID: 312.

Signed-off-by: Florin Malita <fmalita@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/affs/namei.c