https://github.com/torvalds/linux
Revision 48706d0a91583d08c56e7ef2a7602d99c8d4133f authored by Miklos Szeredi on 13 December 2011, 09:36:59 UTC, committed by Miklos Szeredi on 13 December 2011, 09:36:59 UTC
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: Miklos Szeredi <mszeredi@suse.cz>
CC: stable@vger.kernel.org
1 parent dc47ce9
History
Tip revision: 48706d0a91583d08c56e7ef2a7602d99c8d4133f authored by Miklos Szeredi on 13 December 2011, 09:36:59 UTC
fuse: fix fuse_retrieve
Tip revision: 48706d0
File Mode Size
Kconfig -rw-r--r-- 44.5 KB
Makefile -rw-r--r-- 1.0 KB
calibrate.c -rw-r--r-- 7.9 KB
do_mounts.c -rw-r--r-- 12.0 KB
do_mounts.h -rw-r--r-- 1.4 KB
do_mounts_initrd.c -rw-r--r-- 3.1 KB
do_mounts_md.c -rw-r--r-- 7.9 KB
do_mounts_rd.c -rw-r--r-- 8.4 KB
initramfs.c -rw-r--r-- 12.6 KB
main.c -rw-r--r-- 20.3 KB
noinitramfs.c -rw-r--r-- 1.5 KB
version.c -rw-r--r-- 1.1 KB

back to top