aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2018-06-20 13:45:05 +0300
committerJens Axboe <[email protected]>2018-06-20 11:26:04 -0600
commita1e79188628580465ac6d7a93a313336ee3364f1 (patch)
treec77e8c6c014a97674114c779134b82bdba497ece /tools/perf/util/trace-event-scripting.c
parent9c24c10a2c1e1bb478b6bb70612d9e885aee044f (diff)
blk-mq-debugfs: Off by one in blk_mq_rq_state_name()
If rq_state == ARRAY_SIZE() then we read one element beyond the end of the blk_mq_rq_state_name_array[] array. Fixes: ec6dcf63c55c ("blk-mq-debugfs: Show more request state information") Reviewed-by: Bart Van Assche <[email protected]> Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions