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-- 23 bytes
Makefile -rw-r--r-- 333 bytes
butterfly -rw-r--r-- 2.9 KB
ep93xx_spi -rw-r--r-- 2.7 KB
pxa2xx -rw-r--r-- 8.5 KB
spi-lm70llp -rw-r--r-- 3.1 KB
spi-summary -rw-r--r-- 23.1 KB
spidev -rw-r--r-- 6.5 KB
spidev_fdx.c -rw-r--r-- 2.7 KB
spidev_test.c -rw-r--r-- 4.3 KB

back to top