diff options
author | David Disseldorp <ddiss@suse.de> | 2019-09-12 11:55:46 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-10-22 22:14:25 -0400 |
commit | 95f8f6a974cc99c10530accc785267859c2b6c14 (patch) | |
tree | 15c07bdc2c2fab6f92497fddfee18673719fbfd6 /.mailmap | |
parent | 9cef2a7955f2754257a7cddedec16edae7b587d0 (diff) |
scsi: target: fix SendTargets=All string compares
strncmp is currently used for "SendTargets" key and "All" value matching
without checking for trailing garbage. This means that Text request PDUs
with garbage such as "SendTargetsPlease=All" and "SendTargets=Alle" are
processed successfully as if they were "SendTargets=All" requests.
Reviewed-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: David Disseldorp <ddiss@suse.de>
Link: https://lore.kernel.org/r/20190912095547.22427-3-ddiss@suse.de
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions