diff options
| author | Hugh Dickins <[email protected]> | 2025-09-28 04:28:06 +0000 |
|---|---|---|
| committer | Nathan Chancellor <[email protected]> | 2025-09-28 11:54:07 +0000 |
| commit | 2ea77fca84f07849aa995271271340d262d0c2e9 (patch) | |
| tree | 34b3605fc1ea9a0dff05917a5f2a8c0b6c2e6bd6 /lib/mpi/mpi-inline.c | |
| parent | Documentation: kbuild: note CONFIG_DEBUG_EFI in reproducible builds (diff) | |
| download | kernel-2ea77fca84f07849aa995271271340d262d0c2e9.tar.gz kernel-2ea77fca84f07849aa995271271340d262d0c2e9.zip | |
modpost: Initialize builtin_modname to stop SIGSEGVs
Segmentation fault ./scripts/mod/modpost -o vmlinux.symvers vmlinux.o
stops the kernel build. It comes when write_vmlinux_export_c_file()
tries to buf_printf alias->builtin_modname. malloc'ed memory is not
necessarily zeroed. NULL new->builtin_modname before adding to aliases.
Fixes: 5ab23c7923a1 ("modpost: Create modalias for builtin modules")
Signed-off-by: Hugh Dickins <[email protected]>
Reviewed-by: Nicolas Schier <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Nathan Chancellor <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions
