PR26475 UBSAN: elfxx-mips.c:12180 null pointer memset
authorAlan Modra <amodra@gmail.com>
Wed, 26 Aug 2020 08:52:07 +0000 (18:22 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 26 Aug 2020 13:53:44 +0000 (23:23 +0930)
commit55e61b8ad977cba772753c8dbba5c81f6b1fa54c
tree35016a83cf928e7a7fa3531896f592f8c971b130
parent1673aff56987e560ab429beba0d77b85a1c4e064
PR26475 UBSAN: elfxx-mips.c:12180 null pointer memset

Another memset(0,0,0)

PR 26475
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Check
sstubs->contents != NULL.
bfd/ChangeLog
bfd/elfxx-mips.c