diff options
| author | Josh Poimboeuf <jpoimboe@kernel.org> | 2026-04-09 18:35:01 -0700 |
|---|---|---|
| committer | Josh Poimboeuf <jpoimboe@kernel.org> | 2026-05-04 21:16:00 -0700 |
| commit | 98377f3ba7c02d6eb34e203c9f9823bc62b0d231 (patch) | |
| tree | 57046e6568dc8a46df02361d35209ab1087e1089 /scripts/patch-kernel | |
| parent | c4c02d4450b5b7e2fbde578252f71a5697180112 (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/patch-kernel')
0 files changed, 0 insertions, 0 deletions
