]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/ChangeLog
PR26348, Malloc error in write_zeros
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
index a2342588e80888a3ef643d990c29e526083add05..0e22506e02210c029b050013cfc925c63f4723d8 100644 (file)
@@ -1,3 +1,13 @@
+2020-08-13  Alan Modra  <amodra@gmail.com>
+
+       PR 26348
+       * bfd.c (struct bfd): Add read_only.
+       * elfcode.h (elf_swap_shdr_in): Test both sh_offset and sh_size.
+       Set read_only on warning.
+       (elf_object_p): Sanity check program header alignment.  Set
+       read_only on warning.
+       * bfd-in2.h: Regenerate.
+
 2020-08-12  Jon Turney  <jon.turney@dronecode.org.uk>
 
        * elf.c (elfcore_grok_win32pstatus): Use unsigned int for