diff options
author | 2014-02-03 00:35:03 -0800 | |
---|---|---|
committer | 2014-02-12 15:11:04 -0800 | |
commit | 6a16d7be932a9df1024836ccbb448de73afd3dd0 (patch) | |
tree | 14a6fdc34f180fc8311d1000b16f10aff10001e6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | qla2xxx: Remove last vestiges of qla_tgt_cmd.cmd_list (diff) | |
download | linux-dev-6a16d7be932a9df1024836ccbb448de73afd3dd0.tar.xz linux-dev-6a16d7be932a9df1024836ccbb448de73afd3dd0.zip |
target: Fix missing length check in spc_emulate_evpd_83()
Commit fbfe858fea2a ("target_core_spc: Include target device
descriptor in VPD page 83") added a new length variable, but (due to a
cut and paste mistake?) just checks scsi_name_len against 256 twice.
Fix this to check scsi_target_len for overflow too.
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions