PR29720, objdump -S crashes if build-id is missing
authorAlan Modra <amodra@gmail.com>
Tue, 25 Oct 2022 23:11:55 +0000 (09:41 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 26 Oct 2022 05:04:53 +0000 (15:34 +1030)
commit6175be41757e886ce8ef5e792834aced3f5ae397
tree966586c6e434728413c6453d7470680eda79c30c
parent9254cd1fd8682d4a51dc1b13cf8067473d3041ea
PR29720, objdump -S crashes if build-id is missing

PR 29720
* objdump.c (slurp_file): Don't call debuginfod_find_source
when build_id is NULL.
binutils/objdump.c