Fix address violation issues encountered when parsing corrupt binaries.
authorNick Clifton <nickc@redhat.com>
Thu, 27 Jul 2017 11:04:50 +0000 (12:04 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 27 Jul 2017 11:04:50 +0000 (12:04 +0100)
commit8bdf0be19d2777565a8b1c88347f65d6a4b8c5fc
tree3837617a722ce5ec26a0e22c0e21169f47b5af0e
parent63d4980d60dd137996fa282ae1df2e3fcb4519ee
Fix address violation issues encountered when parsing corrupt binaries.

PR 21840
* mach-o.c (bfd_mach_o_read_symtab_strtab): Fail if the symtab
size is -1.
* nlmcode.h (nlm_swap_auxiliary_headers_in): Replace assertion
with error return.
* section.c (bfd_make_section_with_flags): Fail if the name or bfd
are NULL.
* vms-alpha.c (bfd_make_section_with_flags): Correct computation
of end pointer.
(evax_bfd_print_emh): Check for invalid string lengths.
bfd/ChangeLog
bfd/mach-o.c
bfd/nlmcode.h
bfd/section.c
bfd/vms-alpha.c
bfd/vms-misc.c
This page took 0.032355 seconds and 4 git commands to generate.