summaryrefslogtreecommitdiff
path: root/net/802/fc.c
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2007-02-21 13:08:06 +0100
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-03-07 10:50:27 +0100
commit3338368e922a6686a3b3d6f4da07babd224788d4 (patch)
treefa29c8aaef547723cb5f5f81fe60d441947481b6 /net/802/fc.c
parent9a596a6236e1b4d6c2e6105bd85eac19c9f4ec4c (diff)
[AVR32] show_trace: Only walk valid stack addresses
Terminate the frame pointer walk if (a) the address is outside the task's kernel stack or (b) if the frame pointer isn't monotonically increasing. Without this fix, show_trace() may enter an infinite loop, walking through random data anywhere in memory. Since any address within the kernel stack is guaranteed to be valid, we may eliminate the __get_user() calls as well. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'net/802/fc.c')
0 files changed, 0 insertions, 0 deletions