]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Import patches from mainline to fix minor binutils bugs:
authorNick Clifton <nickc@redhat.com>
Tue, 5 Sep 2017 14:32:04 +0000 (15:32 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 5 Sep 2017 14:32:04 +0000 (15:32 +0100)
commit64aa1246572306b72dc479b46d13ff749b0c3236
tree7196c45cf640269b7fcb8f7e0e7b14e1a448d091
parent5709459090fb152a85141d34e6817bc597c6997a
Import patches from mainline to fix minor binutils bugs:

PR 21861
* winduni.c (codepages): Use cp1252 for codepage 0.

PR 21813
* rddbg.c (read_symbol_stabs_debugging_info): Check for an empty
string whilst concatenating symbol names.

PR 21909
* prdbg.c (pr_int_type): Increase size of local string buffer.
(pr_float_type): Likewise.
(pr_bool_type): Likewise.

PR 21820
* readelf.c (dump_section_as_strings): Do not fail if the section
was empty.
(dump_section_as_bytes): Likewise.

PR 21990
* readelf.c (process_version_sections <SHT_GNU_verneed>): Check
for invalid vn_next field before adding to idx.  Use unsigned
long for index vars.  Move index checks.
<SHT_GNU_verdef>: Likewise for vd_next.

PR 21994
* readelf.c (process_version_sections <SHT_GNU_verdef>): Check
vd_aux and vda_next for sanity.  Delete "end".  Correct overflow
checks.
(process_version_sections <SHT_GNU_verneed>): Correct overflow
check.  Don't report invalid vna_next on overflow.  Do report
invalid vna_next on size less than aux info.
binutils/ChangeLog
binutils/prdbg.c
binutils/rddbg.c
binutils/readelf.c
binutils/winduni.c