Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core, libctf: Check if constructor arguments are NULL before using them
# pahole Segmentation fault (core dumped) # Now we have: # ls -la bla ls: cannot access 'bla': No such file or directory # export PAHOLE_VMLINUX_BTF_FILENAME=bla # pahole pahole: couldn't find any debug information on this system. # pahole list_head pahole: couldn't find any debug information on this system. # pahole -F btf list_head pahole: couldn't find any btf debug information on this system. # pahole -F dwarf list_head pahole: couldn't find any dwarf debug information on this system. # Reported-by: Matthias Schwarzott <[email protected]> Reviewed-by: Alan Maguire <[email protected]> Tested-by: Alan Maguire <[email protected]> Cc: Andrii Nakryiko <[email protected]> Cc: Eduard Zingerman <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Song Liu <[email protected]> Cc: Yonghong Song <[email protected]> Link: https://lore.kernel.org/all/ZzzY9uwdCO9hezd6@x1 Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
- Loading branch information