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
.gitignore -rw-r--r-- 20 bytes
00-INDEX -rw-r--r-- 1.1 KB
Makefile -rw-r--r-- 254 bytes
active_mm.txt -rw-r--r-- 3.7 KB
balance -rw-r--r-- 5.0 KB
cleancache.txt -rw-r--r-- 13.8 KB
highmem.txt -rw-r--r-- 5.7 KB
hugepage-mmap.c -rw-r--r-- 2.0 KB
hugepage-shm.c -rw-r--r-- 2.5 KB
hugetlbpage.txt -rw-r--r-- 14.8 KB
hwpoison.txt -rw-r--r-- 5.6 KB
ksm.txt -rw-r--r-- 4.3 KB
locking -rw-r--r-- 6.0 KB
map_hugetlb.c -rw-r--r-- 1.7 KB
numa -rw-r--r-- 8.7 KB
numa_memory_policy.txt -rw-r--r-- 22.6 KB
overcommit-accounting -rw-r--r-- 2.2 KB
page-types.c -rw-r--r-- 23.1 KB
page_migration -rw-r--r-- 6.5 KB
pagemap.txt -rw-r--r-- 5.5 KB
slub.txt -rw-r--r-- 10.2 KB
transhuge.txt -rw-r--r-- 14.0 KB
unevictable-lru.txt -rw-r--r-- 32.8 KB

back to top