diff options
author | Kent Overstreet <koverstreet@google.com> | 2012-10-12 13:18:27 -0700 |
---|---|---|
committer | Kent Overstreet <koverstreet@google.com> | 2013-03-23 14:15:26 -0700 |
commit | 6fda981cafbf908acd11e1e636fec50e99d56a47 (patch) | |
tree | be6c8b95551a6081745ab937241dc4a3ef348676 /fs/omfs/file.c | |
parent | df2cb6daa4cbc34406bc4b1ac9b9335df1083a72 (diff) | |
download | op-kernel-dev-6fda981cafbf908acd11e1e636fec50e99d56a47.zip op-kernel-dev-6fda981cafbf908acd11e1e636fec50e99d56a47.tar.gz |
block: Fix a buffer overrun in bio_integrity_split()
bio_integrity_split() seemed to be confusing pointers and arrays -
bip_vec in bio_integrity_payload was an array appended to the end of the
payload, so the bio_vecs in struct bio_pair should have come after the
bio_integrity_payload they're for.
Fix it by making bip_vec a pointer to the inline vecs - a later patch is
going to make more use of this pointer.
Signed-off-by: Kent Overstreet <koverstreet@google.com>
CC: Jens Axboe <axboe@kernel.dk>
CC: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'fs/omfs/file.c')
0 files changed, 0 insertions, 0 deletions