提交 d93e34fa 编写于 作者: A Al Viro

pohmelfs: double-free and leak

wrong dentry dropped...
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 94b77bd8
......@@ -413,7 +413,7 @@ static int pohmelfs_readdir_response(struct netfs_state *st)
if (dentry) {
alias = d_materialise_unique(dentry, &npi->vfs_inode);
if (alias)
dput(dentry);
dput(alias);
}
dput(dentry);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册