Fix -Wstringop-overflow warning in ecoff_link_hash_newfunc
commitd31c9cf54ace96819fd8dff16ea120c578d89a46
authorAndreas Schwab <schwab@suse.de>
Thu, 26 Sep 2024 11:06:25 +0000 (26 13:06 +0200)
committerAndreas Schwab <schwab@suse.de>
Thu, 26 Sep 2024 11:56:44 +0000 (26 13:56 +0200)
treea539b5e536069849a24e47e822bf7325ed0b9b3c
parent052940eba6fcd2b9f359f03ee205e9cd4dfb1575
Fix -Wstringop-overflow warning in ecoff_link_hash_newfunc

* ecoff.c (ecoff_link_hash_newfunc): Don't call memset if ret is
NULL.
bfd/ecoff.c