aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorKaike Wan <[email protected]>2019-06-07 08:25:25 -0400
committerJason Gunthorpe <[email protected]>2019-06-11 17:06:37 -0300
commit5f90677ed31963abb184ee08ebee4a4a68225dd8 (patch)
tree4cb3055c9b4d42d9155f80a993805848ed6aa563 /tools/perf/scripts/python/exported-sql-viewer.py
parentd1fdb6d8f6a4109a4263176c84b899076a5f8008 (diff)
IB/hfi1: Validate fault injection opcode user input
The opcode range for fault injection from user should be validated before it is applied to the fault->opcodes[] bitmap to avoid out-of-bound error. Cc: <[email protected]> Fixes: a74d5307caba ("IB/hfi1: Rework fault injection machinery") Reported-by: Dan Carpenter <[email protected]> Reviewed-by: Mike Marciniszyn <[email protected]> Signed-off-by: Kaike Wan <[email protected]> Signed-off-by: Dennis Dalessandro <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions