summaryrefslogtreecommitdiff
path: root/ipc/mqueue.c
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2015-02-13 22:09:47 +0000
committerJiri Slaby <jslaby@suse.cz>2015-03-12 11:10:04 +0100
commitdffc0bca5ea9b1ae646fb8fc7c82ca179a866b09 (patch)
treed8290c55562cfd80322e5a62d9ece27dc865182f /ipc/mqueue.c
parentb18b42fe0a23ff7607cfec88ede23a57e53bec66 (diff)
target: Add missing WRITE_SAME end-of-device sanity check
commit 8e575c50a171f2579e367a7f778f86477dfdaf49 upstream. This patch adds a check to sbc_setup_write_same() to verify the incoming WRITE_SAME LBA + number of blocks does not exceed past the end-of-device. Also check for potential LBA wrap-around as well. Reported-by: Bart Van Assche <bart.vanassche@sandisk.com> 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 'ipc/mqueue.c')
0 files changed, 0 insertions, 0 deletions