git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0191944
)
bio: fix memcpy corruption in bio_copy_user_iov()
author
FUJITA Tomonori
<fujita.tomonori@lab.ntt.co.jp>
Tue, 28 Apr 2009 18:24:29 +0000
(20:24 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Tue, 28 Apr 2009 18:24:29 +0000
(20:24 +0200)
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>
fs/bio.c
patch
|
blob
|
history
diff --cc
fs/bio.c
Simple merge