On Wed, Jul 10, 2019 at 7:35 PM Eiichi Tsukata wrote:
>
> Once we find a lack of return address, there is no need to continue
> loop, so let's break out.
Looks good to me, feel free to add
Acked-by: Linus Torvalds
and I'll assume this comes through the x86 -tip tree..
Linus
Current arch_stack_walk_user() checks `if (fp == frame.next_fp)`
to prevent infinite loop by self reference but it's not enogh for
circular reference.
Once we find a lack of return address, there is no need to continue
loop, so let's break out.
Fixes: 02b67518e2b1 ("tracing: add support for users
2 matches
Mail list logo