aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2017-01-10 11:15:48 -0800
committerDoug Ledford <[email protected]>2017-01-10 16:52:47 -0500
commit642c7cbcaf2ffc1e27f67eda3dc47347ac5aff37 (patch)
treeba51621bc1e85f16c12cb0ce65f68dbb72293680 /tools/perf/util/trace-event-scripting.c
parent43553b47c3124e7f4a9f115cff9db513b35a5e0a (diff)
IB/rxe: Add a runtime check in alloc_index()
Since index values equal to or above 'range' can trigger memory corruption, complain if index >= range. Signed-off-by: Bart Van Assche <[email protected]> Reviewed-by: Andrew Boyer <[email protected]> Cc: Moni Shoua <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions