• Miklos Szeredi's avatar
    fuse: fix fuse_retrieve · 48706d0a
    Miklos Szeredi authored
    Fix two bugs in fuse_retrieve():
    
     - retrieving more than one page would yield repeated instances of the
       first page
    
     - if more than FUSE_MAX_PAGES_PER_REQ pages were requested than the
       request page array would overflow
    
    fuse_retrieve() was added in 2.6.36 and these bugs had been there since the
    beginning.
    Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
    CC: stable@vger.kernel.org
    48706d0a
dev.c 45.2 KB