PR 24435
* elflink.c (elf_link_add_object_symbols): Don't read partial
dynamic entries from fuzzed objects.
+2019-04-11 Alan Modra <amodra@gmail.com>
+
+ PR 24435
+ * elflink.c (elf_link_add_object_symbols): Don't read partial
+ dynamic entries from fuzzed objects.
+
2019-04-11 Tamar Christina <tamar.christina@arm.com>
PR ld/24302
shlink = elf_elfsections (abfd)[elfsec]->sh_link;
for (extdyn = dynbuf;
- extdyn < dynbuf + s->size;
+ extdyn <= dynbuf + s->size - bed->s->sizeof_dyn;
extdyn += bed->s->sizeof_dyn)
{
Elf_Internal_Dyn dyn;