This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Fix address violation parsing a corrupt Alpha VMS binary file.
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Wed, 21 Jun 2017 11:23:53 -0400
- Subject: [binutils-gdb] Fix address violation parsing a corrupt Alpha VMS binary file.
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 7adc0a8174f1233f6d92edd0671c18c9870e64e7 ***
Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 7adc0a8174f1233f6d92edd0671c18c9870e64e7
Fix address violation parsing a corrupt Alpha VMS binary file.
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.