diff options
author | Nick Clifton <nickc@redhat.com> | 2018-04-16 16:39:15 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2018-04-16 16:39:15 +0100 |
commit | c77852c8916415b089e56271b6ab9f793fdb413c (patch) | |
tree | 7a18a1c89e154da7ec5282448c5c63bcf49f9047 /gdb | |
parent | fc7aa874aad7eea29014c5591174d57f81500d69 (diff) | |
download | binutils-c77852c8916415b089e56271b6ab9f793fdb413c.zip binutils-c77852c8916415b089e56271b6ab9f793fdb413c.tar.gz binutils-c77852c8916415b089e56271b6ab9f793fdb413c.tar.bz2 |
Fix illegal memory accesses in the assembler when attempting to parse corrup tinput files.
PR 23054
* cond.c (s_ifsef): Replace use of obstack_copy with obstack_alloc
followed by memcpy.
(s_if, s_ifb, s_ifc, s_ifeqs): Likewise.
* obj-elf.c (elf_adjust_symtab): Check for local symbols before
attempting to dereference the sy_next field of a symbol.
* stabs.c (get_stab_string_offset): Fail if there is no string
following the stab directive.
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions