aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2010-06-01 12:17:48 +0200
committerJens Axboe <[email protected]>2010-06-01 12:17:48 +0200
commit713b686494a577b3c4f4f9f585a4705fc30d51c2 (patch)
tree3b7fa639a3b1bf1a6addd0d317558ca66bf9dd6c /tools/perf/util/trace-event-scripting.c
parent099c5c310e9744bd0654881bb55c137051228e56 (diff)
cciss: call BUG() earlier
I moved the range check after the increment. The current code would write past the end of the array once before calling BUG(). 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