Linus Torvalds 808dbbb6bb x86: be more careful when walking back the frame pointer chain
When showing the stack backtrace, make sure that we never accept not
only an unchanging frame pointer, but also a frame pointer that moves
back down the stack frame.  It must always grow up (toward older stack
frames).

I doubt this has triggered, but a subtly corrupt stack with extremely
unlucky contents could cause us to loop forever on a bogus endless frame
pointer chain.

This review was triggered by much worse problems happening in some of
the other stack unwinding code.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-11-17 11:14:56 -08:00
..
2006-10-06 08:53:39 -07:00
2006-07-03 21:25:20 -07:00
2005-04-16 15:20:36 -07:00
2006-10-03 23:34:58 +02:00
2006-10-21 18:37:02 +02:00
2006-10-03 23:01:26 +02:00
2006-03-23 07:38:04 -08:00
2005-04-16 15:20:36 -07:00
2006-10-11 11:14:21 -07:00
2006-09-26 10:52:35 +02:00
2005-04-16 15:20:36 -07:00
2006-10-17 08:18:42 -07:00
2005-04-16 15:20:36 -07:00
2006-07-31 13:28:43 -07:00
2005-04-16 15:20:36 -07:00