summaryrefslogtreecommitdiff
path: root/gdb/i386-sol2-nat.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-09-20 15:29:17 +0930
committerAlan Modra <amodra@gmail.com>2018-09-20 15:33:45 +0930
commit30838132997e6a3cfe3ec11c58b32b22f6f6b102 (patch)
treed27a866fa48412d72a717c31871b18ed4ebbf824 /gdb/i386-sol2-nat.c
parent4ee9b0c53a8055b869dfe424846bc00eb0cd0c8f (diff)
downloadbinutils-gdb-30838132997e6a3cfe3ec11c58b32b22f6f6b102.tar.gz
Bug 23686, two segment faults in nm
Fixes the bugs exposed by the testcases in the PR, plus two more bugs I noticed when looking at _bfd_stab_section_find_nearest_line. PR 23686 * dwarf2.c (read_section): Error when attempting to malloc "(bfd_size_type) -1". * syms.c (_bfd_stab_section_find_nearest_line): Bounds check function_name. Bounds check reloc address. Formatting. Ensure .stabstr zero terminated.
Diffstat (limited to 'gdb/i386-sol2-nat.c')
0 files changed, 0 insertions, 0 deletions