]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] 9pfs: missing result check in v9fs_vfs_readlink() and v9fs_vfs_link()
authorFlorin Malita <fmalita@gmail.com>
Sun, 25 Jun 2006 12:48:31 +0000 (05:48 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 25 Jun 2006 17:01:15 +0000 (10:01 -0700)
commit0710d36a0fd5db3176369397f0fc49db32a63507
treef1d0de2afccdd6c7f967fc12c752f5323e4e3a8f
parenteab03ac7bd3e0da99eb9dc068772a85a5e3f3577
[PATCH] 9pfs: missing result check in v9fs_vfs_readlink() and v9fs_vfs_link()

__getname() may fail and return NULL (as pointed out by Coverity 437 &
1220).

Signed-off-by: Florin Malita <fmalita@gmail.com>
Acked-by: Eric Van Hensbergen <ericvh@gmail.com>
Cc: <rminnich@lanl.gov>
Cc: Latchesar Ionkov <lucho@ionkov.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/9p/vfs_inode.c