diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-02-04 13:04:44 +0000 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2013-02-04 15:22:23 +0100 |
commit | 6a4e922c3db06f7da27e072729e047185c2fba66 (patch) | |
tree | 26d92e82ab982b25b3f115e52a9bf9956003889b /fs/fuse/dir.c | |
parent | 23c153e54197171f30b889d9654929d74b6599d5 (diff) | |
download | linux-6a4e922c3db06f7da27e072729e047185c2fba66.tar.gz linux-6a4e922c3db06f7da27e072729e047185c2fba66.tar.bz2 linux-6a4e922c3db06f7da27e072729e047185c2fba66.zip |
fuse: avoid out-of-scope stack access
The all pointers within fuse_req must point to valid memory once
fuse_force_forget() returns.
This bug appeared in "fuse: implement NFS-like readdirplus support"
and was never in any official Linux release.
I tested the fuse_force_forget() code path by injecting to fake -ENOMEM and
verified the FORGET operation was called properly in userspace.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/fuse/dir.c')
0 files changed, 0 insertions, 0 deletions