aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-05-18 17:09:45 +0930
committerAlan Modra <amodra@gmail.com>2018-05-18 18:32:35 +0930
commit4bba0fb1c6d391a217c25e44398a7e1c7090155f (patch)
treefff53de71569f3b7dd7a12cb1f3de54b043c8ae0 /bfd/ChangeLog
parent8722de9c419c98ce2fb1f294097244c0bc45e030 (diff)
downloadgdb-4bba0fb1c6d391a217c25e44398a7e1c7090155f.zip
gdb-4bba0fb1c6d391a217c25e44398a7e1c7090155f.tar.gz
gdb-4bba0fb1c6d391a217c25e44398a7e1c7090155f.tar.bz2
PR23199, Invalid SHT_GROUP entry leads to group confusion
This patch prevents elf_next_in_group list pointer confusion when SHT_GROUP sections specify other SHT_GROUP sections in their list of group sections. PR 23199 * elf.c (setup_group): Formatting. Check that SHT_GROUP entries don't point at other SHT_GROUP sections. Set shdr corresponding to invalid entry, to NULL rather than section 0. Identify SHT_GROUP section index when reporting an error. Cope with NULL shdr pointer.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3b5774a..f0ea6f9 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,14 @@
2018-05-18 Alan Modra <amodra@gmail.com>
+ PR 23199
+ * elf.c (setup_group): Formatting. Check that SHT_GROUP entries
+ don't point at other SHT_GROUP sections. Set shdr corresponding
+ to invalid entry, to NULL rather than section 0. Identify
+ SHT_GROUP section index when reporting an error. Cope with NULL
+ shdr pointer.
+
+2018-05-18 Alan Modra <amodra@gmail.com>
+
* libbfd-in.h (ATTRIBUTE_HIDDEN): Define and use throughout.
* configure.ac (HAVE_HIDDEN): Check compiler support for hidden
visibility.