diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-02-13 22:27:40 +0000 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2015-03-12 11:10:04 +0100 |
commit | 14ee62dd93f3dd27d8c9d300ba59a91708ba9f33 (patch) | |
tree | 037a99fe2cdd49030f64d853965c1f80194ff7a2 /include/net | |
parent | dffc0bca5ea9b1ae646fb8fc7c82ca179a866b09 (diff) |
target: Check for LBA + sectors wrap-around in sbc_parse_cdb
commit aa179935edea9a64dec4b757090c8106a3907ffa upstream.
This patch adds a check to sbc_parse_cdb() in order to detect when
an LBA + sector vs. end-of-device calculation wraps when the LBA is
sufficently large enough (eg: 0xFFFFFFFFFFFFFFFF).
Cc: Martin Petersen <martin.petersen@oracle.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions