asan: segfault in coff_write_auxent_fname
authorAlan Modra <amodra@gmail.com>
Sat, 6 Aug 2022 08:06:32 +0000 (17:36 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 6 Aug 2022 09:13:24 +0000 (18:43 +0930)
commit431d48ef288983b62df2afb435dc8c6101a34cf8
tree1d1d49e0f1425c6beaf20d2a6feb01496f4a0343
parentf7a559d5e11c5c023554b48b661aabbcc2c87cb8
asan: segfault in coff_write_auxent_fname

More fuzzed input file nonsense.

* coffgen.c (coff_write_symbol): Don't call coff_write_auxent_fname
when extrap is NULL.
bfd/coffgen.c