diff options
author | 2017-01-10 11:15:48 -0800 | |
---|---|---|
committer | 2017-01-10 16:52:47 -0500 | |
commit | 642c7cbcaf2ffc1e27f67eda3dc47347ac5aff37 (patch) | |
tree | ba51621bc1e85f16c12cb0ce65f68dbb72293680 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | IB/rxe: Issue warnings once (diff) | |
download | wireguard-linux-642c7cbcaf2ffc1e27f67eda3dc47347ac5aff37.tar.xz wireguard-linux-642c7cbcaf2ffc1e27f67eda3dc47347ac5aff37.zip |
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 <bart.vanassche@sandisk.com>
Reviewed-by: Andrew Boyer <andrew.boyer@dell.com>
Cc: Moni Shoua <monis@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions