Fix use-after-free and double free of mntfs private data
authorChristos Zoulas <christos@zoulas.com>
Wed, 9 Dec 2009 16:15:05 +0000 (11:15 -0500)
committerChristos Zoulas <christos@zoulas.com>
Wed, 9 Dec 2009 16:15:05 +0000 (11:15 -0500)
commit19323129eae9702904cabe14bb57babe61a658ea
treeecba07146ee1d444240ab1e15ce48f7d59bfed7e
parentccf769f7dbaccb2ce9f8a2f270b2bcc89bf790ff
Fix use-after-free and double free of mntfs private data
ops_nfs.c(nfs_init) does not clear private data pointer after free().
This leads to use-after-free and double free in case mount() fails.
(found by valgrind)
From: Krisztian Kovacs <Kris.Kovacs@morganstanley.com>
ChangeLog
amd/ops_nfs.c