diff options
author | Alan Modra <amodra@gmail.com> | 2018-09-20 15:29:17 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2018-09-20 15:33:45 +0930 |
commit | 30838132997e6a3cfe3ec11c58b32b22f6f6b102 (patch) | |
tree | d27a866fa48412d72a717c31871b18ed4ebbf824 /gdb/i386-sol2-nat.c | |
parent | 4ee9b0c53a8055b869dfe424846bc00eb0cd0c8f (diff) | |
download | binutils-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