summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@kernel.org>2026-04-09 18:35:01 -0700
committerJosh Poimboeuf <jpoimboe@kernel.org>2026-05-04 21:16:00 -0700
commit98377f3ba7c02d6eb34e203c9f9823bc62b0d231 (patch)
tree57046e6568dc8a46df02361d35209ab1087e1089 /scripts/basic
parentc4c02d4450b5b7e2fbde578252f71a5697180112 (diff)
objtool/klp: Fix cloning of zero-length section symbols
Fix NULL dereference when cloning a symbol from an empty section. sec->data is only populated for sections with non-zero size. Fixes: dd590d4d57eb ("objtool/klp: Introduce klp diff subcommand for diffing object files") Acked-by: Song Liu <song@kernel.org> Reviewed-by: Miroslav Benes <mbenes@suse.cz> Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions