asan: null dereference in coff_count_linenumbers
authorAlan Modra <amodra@gmail.com>
Sat, 4 Jun 2022 09:07:20 +0000 (18:37 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 4 Jun 2022 11:27:36 +0000 (20:57 +0930)
commit3ae76967be4f05d9171e6e03cb298af648b52899
tree97e2cb8062d6563f3bc7b891ddac07721ff79dfa
parent21aacea42ecaa7aca9b686e8de0f79a1f4e7d668
asan: null dereference in coff_count_linenumbers

* coffgen.c (coff_count_linenumbers): Don't segfault when asymbol
the_bfd is NULL.
bfd/coffgen.c