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
File Mode Size
Kconfig -rw-r--r-- 2.8 KB
Makefile -rw-r--r-- 741 bytes
array.c -rw-r--r-- 13.2 KB
base.c -rw-r--r-- 80.9 KB
cmdline.c -rw-r--r-- 651 bytes
consoles.c -rw-r--r-- 2.2 KB
cpuinfo.c -rw-r--r-- 564 bytes
devices.c -rw-r--r-- 1.4 KB
generic.c -rw-r--r-- 19.4 KB
inode.c -rw-r--r-- 11.8 KB
internal.h -rw-r--r-- 4.7 KB
interrupts.c -rw-r--r-- 1.1 KB
kcore.c -rw-r--r-- 15.2 KB
kmsg.c -rw-r--r-- 1.5 KB
loadavg.c -rw-r--r-- 1.1 KB
meminfo.c -rw-r--r-- 4.9 KB
mmu.c -rw-r--r-- 1.4 KB
namespaces.c -rw-r--r-- 4.1 KB
nommu.c -rw-r--r-- 3.3 KB
page.c -rw-r--r-- 4.9 KB
proc_devtree.c -rw-r--r-- 5.3 KB
proc_net.c -rw-r--r-- 4.6 KB
proc_sysctl.c -rw-r--r-- 11.1 KB
proc_tty.c -rw-r--r-- 4.7 KB
root.c -rw-r--r-- 4.4 KB
softirqs.c -rw-r--r-- 993 bytes
stat.c -rw-r--r-- 5.4 KB
task_mmu.c -rw-r--r-- 27.1 KB
task_nommu.c -rw-r--r-- 6.0 KB
uptime.c -rw-r--r-- 1.2 KB
version.c -rw-r--r-- 761 bytes
vmcore.c -rw-r--r-- 17.1 KB

back to top