aboutsummaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2015-02-13 22:27:40 +0000
committerSasha Levin <sasha.levin@oracle.com>2015-03-14 15:37:19 -0400
commitcdc937a511477545ede5dd55a2ef9eca6f2f3b56 (patch)
tree572d358cfa964d4f0baa7b6186087dcddffd4ff6 /arch/x86
parentf38a130bffe1b699bd9ac9ce89f19ccff31d97b5 (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: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions