summaryrefslogtreecommitdiff
path: root/drivers/target/target_core_spc.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2013-12-19 17:36:11 +0400
committerNicholas Bellinger <nab@linux-iscsi.org>2014-01-10 09:48:38 +0400
commit38edd724577123c972f2264382005ac910ce747f (patch)
tree1fb950f227ff91001504c29bce32b3c9415d8352 /drivers/target/target_core_spc.c
parent594c42e9bd9f70a41bf79236db985ba940d28eb8 (diff)
downloadlinux-38edd724577123c972f2264382005ac910ce747f.tar.xz
target_core_alua: check for buffer overflow
When a writing to a command-provided buffer we need to ensure that we're not writing past the end of it. At the same time we need to continue processing as typically the final data length (ie the required size of the buffer) need to be returned. Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_spc.c')
0 files changed, 0 insertions, 0 deletions