Fix address violation parsing a corrupt Alpha VMS binary file.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 7b2927fb3ea70cdf9cb05804aed09cd5a9c70610..35b9d97a98fecd84a448b39bca2d9058956b7205 100644 (file)
@@ -1,3 +1,18 @@
+2017-06-21  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21639
+       * vms-misc.c (_bfd_vms_save_sized_string): Use unsigned int as
+       type of the size parameter.
+       (_bfd_vms_save_counted_string): Add second parameter - the maximum
+       length of the counted string.
+       * vms.h (_bfd_vms_save_sized_string): Update prototype.
+       (_bfd_vms_save_counted_string): Likewise.
+       * vms-alpha.c (_bfd_vms_slurp_eisd): Update calls to
+       _bfd_vms_save_counted_string.
+       (_bfd_vms_slurp_ehdr): Likewise.
+       (_bfd_vms_slurp_egsd): Likewise.
+       (Parse_module): Likewise.
+
 2017-06-21  Alan Modra  <amodra@gmail.com>
 
        * elf64-ppc.c (ppc64_elf_size_stubs): Test for localentry:0 plt
This page took 0.033423 seconds and 4 git commands to generate.