diff options
author | Jan Kara <[email protected]> | 2010-08-19 14:13:33 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-08-20 09:34:55 -0700 |
commit | d5ed3a4af77b851b6271ad3d9abc4c57fa3ce0f5 (patch) | |
tree | f06894404e4af25051e8918bfd3fdac95974fc97 /tools/perf/util/trace-event-scripting.c | |
parent | f2e41e910320197d55b52e28d99a07130f2ae738 (diff) |
lib/radix-tree.c: fix overflow in radix_tree_range_tag_if_tagged()
When radix_tree_maxindex() is ~0UL, it can happen that scanning overflows
index and tree traversal code goes astray reading memory until it hits
unreadable memory. Check for overflow and exit in that case.
Signed-off-by: Jan Kara <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Nick Piggin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions