aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMartin K. Petersen <[email protected]>2017-03-17 08:47:14 -0400
committerMartin K. Petersen <[email protected]>2017-04-07 17:07:14 -0400
commita00a7862513089f17209b732f230922f1942e0b9 (patch)
tree29baba18a5643a8a3eae10a6e4db79e4642c4112 /tools/perf/scripts/python/export-to-postgresql.py
parent6780414519f91c2a84da9baa963a940ac916f803 (diff)
scsi: sr: Sanity check returned mode data
Kefeng Wang discovered that old versions of the QEMU CD driver would return mangled mode data causing us to walk off the end of the buffer in an attempt to parse it. Sanity check the returned mode sense data. Cc: <[email protected]> Reported-by: Kefeng Wang <[email protected]> Tested-by: Kefeng Wang <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions