diff options
author | Martin K. Petersen <[email protected]> | 2017-03-17 08:47:14 -0400 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2017-04-07 17:07:14 -0400 |
commit | a00a7862513089f17209b732f230922f1942e0b9 (patch) | |
tree | 29baba18a5643a8a3eae10a6e4db79e4642c4112 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 6780414519f91c2a84da9baa963a940ac916f803 (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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions