diff options
author | Josh Poimboeuf <jpoimboe@kernel.org> | 2025-03-28 08:04:21 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-03-28 16:47:02 +0300 |
commit | 69d41d6dafff0967565b971d950bd10443e4076c (patch) | |
tree | ff1614d87b893eb6f1d2a04cf701290d0d550403 /scripts/gdb/linux/stackdepot.py | |
parent | d9a595c3850ea4383628115df2bb533af3b29f4f (diff) | |
download | linux-69d41d6dafff0967565b971d950bd10443e4076c.tar.xz |
objtool: Fix segfault in ignore_unreachable_insn()
Check 'prev_insn' before dereferencing it.
Fixes: bd841d6154f5 ("objtool: Fix CONFIG_UBSAN_TRAP unreachable warnings")
Reported-by: Arnd Bergmann <arnd@arndb.de>
Reported-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/5df4ff89c9e4b9e788b77b0531234ffa7ba03e9e.1743136205.git.jpoimboe@kernel.org
Closes: https://lore.kernel.org/d86b4cc6-0b97-4095-8793-a7384410b8ab@app.fastmail.com
Closes: https://lore.kernel.org/Z-V_rruKY0-36pqA@gmail.com
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions