[PATCH] v9fs: fix for access to unitialized variables or freed memory
Miscellaneous fixes related to accessing uninitialized variables or memory that was already freed. Signed-off-by: Latchesar Ionkov <lucho@ionkov.net> Cc: Eric Van Hensbergen <ericvh@ericvh.myip.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
このコミットが含まれているのは:
@@ -156,7 +156,6 @@ static struct super_block *v9fs_get_sb(struct file_system_type
|
||||
stat_result = v9fs_t_stat(v9ses, newfid, &fcall);
|
||||
if (stat_result < 0) {
|
||||
dprintk(DEBUG_ERROR, "stat error\n");
|
||||
kfree(fcall);
|
||||
v9fs_t_clunk(v9ses, newfid);
|
||||
} else {
|
||||
/* Setup the Root Inode */
|
||||
|
新しいイシューから参照
ユーザーをブロックする