From: Eric Wong Date: Mon, 4 Feb 2013 13:04:44 +0000 (+0000) Subject: fuse: avoid out-of-scope stack access X-Git-Tag: v3.9-rc1~135^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a4e922c3db06f7da27e072729e047185c2fba66;p=pandora-kernel.git 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 Signed-off-by: Miklos Szeredi --- Reading git-diff-tree failed