diff options
author | Sonny Rao <[email protected]> | 2011-04-18 22:12:59 +0100 |
---|---|---|
committer | Russell King <[email protected]> | 2011-04-27 22:02:46 +0100 |
commit | 860ad7823fdc00cd61dc70e7f35e07fb327cc9a4 (patch) | |
tree | 810f49eaad81ab60b4469c7c1c5203539df42acd /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 167f829752f9cef51f59cc500abc0ad6ba69f5cb (diff) |
ARM: 6884/1: Fix infinite loop in ARM user perf_event backtrace code
The ARM user backtrace code can get into an infinite loop if it
runs into an invalid stack frame which points back to itself.
This situation has been observed in practice. Fix it by capping
the number of entries in the backtrace. This is also what other
architectures do in their backtrace code.
Signed-off-by: Sonny Rao <[email protected]>
Acked-by: Jamie Iles <[email protected]>
Acked-by: Olof Johansson <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions