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
00-INDEX -rw-r--r-- 540 bytes
biodoc.txt -rw-r--r-- 54.0 KB
capability.txt -rw-r--r-- 618 bytes
cfq-iosched.txt -rw-r--r-- 5.7 KB
data-integrity.txt -rw-r--r-- 13.5 KB
deadline-iosched.txt -rw-r--r-- 2.8 KB
ioprio.txt -rw-r--r-- 4.6 KB
queue-sysfs.txt -rw-r--r-- 2.5 KB
request.txt -rw-r--r-- 2.0 KB
stat.txt -rw-r--r-- 3.2 KB
switching-sched.txt -rw-r--r-- 1.4 KB
writeback_cache_control.txt -rw-r--r-- 3.8 KB

back to top