https://github.com/torvalds/linux
Revision 69838727bcd819a8fd73a88447801221788b0c6d authored by FUJITA Tomonori on 28 April 2009, 18:24:29 UTC, committed by Jens Axboe on 28 April 2009, 18:24:29 UTC
st driver uses blk_rq_map_user() in order to just build a request out
of page frames. In this case, map_data->offset is a non zero value and
iov[0].iov_base is NULL. We need to increase nr_pages for that.

Cc: stable@kernel.org
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
1 parent 0191944
History
Tip revision: 69838727bcd819a8fd73a88447801221788b0c6d authored by FUJITA Tomonori on 28 April 2009, 18:24:29 UTC
bio: fix memcpy corruption in bio_copy_user_iov()
Tip revision: 6983872
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 885 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.6 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 144.1 KB
Makefile -rw-r--r-- 53.7 KB
README -rw-r--r-- 16.7 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top