From 00bc5e68b2c02fd2b1daacc37850840498595fb0 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 26 Aug 2020 18:32:30 +0930 Subject: PR26478 UBSAN: mmo.c:2941 null pointer memcpy PR 26478 * mmo.c (mmo_write_symbols_and_terminator): Don't memcpy empty table. --- bfd/ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bfd/ChangeLog') diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3a85c3e..86fccfb 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 2020-08-26 Alan Modra + PR 26478 + * mmo.c (mmo_write_symbols_and_terminator): Don't memcpy empty table. + +2020-08-26 Alan Modra + PR 26475 * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Check sstubs->contents != NULL. -- cgit v1.1