diff options
author | Hannes Reinecke <hare@suse.de> | 2013-12-19 14:36:11 +0100 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-01-09 21:48:38 -0800 |
commit | 38edd724577123c972f2264382005ac910ce747f (patch) | |
tree | 1fb950f227ff91001504c29bce32b3c9415d8352 /include/target | |
parent | 594c42e9bd9f70a41bf79236db985ba940d28eb8 (diff) | |
download | linux-38edd724577123c972f2264382005ac910ce747f.tar.gz linux-38edd724577123c972f2264382005ac910ce747f.tar.bz2 linux-38edd724577123c972f2264382005ac910ce747f.zip |
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 'include/target')
0 files changed, 0 insertions, 0 deletions