aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-04-14 17:26:45 +0930
committerAlan Modra <amodra@gmail.com>2021-04-14 17:37:27 +0930
commit8985b74b7d0f957eda8ec12e88665dab17f00a15 (patch)
treeb75ebb7c3835d88980b5e45a58c8d3e428ffea3e /bfd/ChangeLog
parentc9f9a78d00d1a054c013da612949bbd6d1720ed7 (diff)
downloadgdb-8985b74b7d0f957eda8ec12e88665dab17f00a15.zip
gdb-8985b74b7d0f957eda8ec12e88665dab17f00a15.tar.gz
gdb-8985b74b7d0f957eda8ec12e88665dab17f00a15.tar.bz2
PR27631, ubsan: elf32-metag.c:1550:10
PR 27631 * elf32-metag.c (elf_metag_relocate_section): Don't use &hh->elf when hh might be NULL, test for NULL first.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index c3e5253..4d71522 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,11 @@
2021-04-14 Alan Modra <amodra@gmail.com>
+ PR 27631
+ * elf32-metag.c (elf_metag_relocate_section): Don't use &hh->elf
+ when hh might be NULL, test for NULL first.
+
+2021-04-14 Alan Modra <amodra@gmail.com>
+
PR 27630
* elf32-arm.c (elf32_arm_size_stubs): Don't use &hash->root when
hash might be NULL, cast instead.