summaryrefslogtreecommitdiffstats
path: root/scripts/checksyscalls.sh
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2010-12-24 23:22:37 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-01-04 19:10:36 +0100
commit878215feb8b2417c4700090b4335739858cf7b5a (patch)
tree175172dad3e31faf4cb36262f3ef5fdf2a7bda61 /scripts/checksyscalls.sh
parentNFSv4: Convert a few commas into semicolons... (diff)
downloadlinux-878215feb8b2417c4700090b4335739858cf7b5a.tar.xz
linux-878215feb8b2417c4700090b4335739858cf7b5a.zip
NFS: Don't leak in nfs_proc_symlink()
Hi, In fs/nfs/proc.c::nfs_proc_symlink() we will leak memory if either nfs_alloc_fhandle() or nfs_alloc_fattr() returns NULL but the other one doesn't. This patch ensures memory allocated by one when the other fails is always released (this is safe since nfs_free_fattr() and nfs_free_fhandle() both call kfree which deals gracefully with NULL pointers). Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'scripts/checksyscalls.sh')
0 files changed, 0 insertions, 0 deletions