commit | 38edd724577123c972f2264382005ac910ce747f | [log] [tgz] |
---|---|---|
author | Hannes Reinecke <hare@suse.de> | Thu Dec 19 14:36:11 2013 +0100 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Thu Jan 09 21:48:38 2014 -0800 |
tree | 1fb950f227ff91001504c29bce32b3c9415d8352 | |
parent | 594c42e9bd9f70a41bf79236db985ba940d28eb8 [diff] |
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>