• M
    [PATCH] fuse: fix Oops in lookup · 2d51013e
    Miklos Szeredi 提交于
    Fix bug in certain error paths of lookup routines.  The request object was
    reused for sending FORGET, which is illegal.  This bug could cause an Oops
    in 2.6.18.  In earlier versions it might silently corrupt memory, but this
    is very unlikely.
    
    These error paths are never triggered by libfuse, so this wasn't noticed
    even with the 2.6.18 kernel, only with a filesystem using the raw kernel
    interface.
    
    Thanks to Russ Cox for the bug report and test filesystem.
    Signed-off-by: NMiklos Szeredi <miklos@szeredi.hu>
    Cc: <stable@kernel.org>
    Signed-off-by: NAndrew Morton <akpm@osdl.org>
    Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
    2d51013e
dir.c 33.3 KB