aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2014-11-05 10:13:16 +0000
committerNick Clifton <nickc@redhat.com>2014-11-05 10:13:16 +0000
commit20ad5e2842911039a60b6bdf9880cee895179e43 (patch)
tree60c1883ca19d125970f9d60ad04cb32cced0ffcc /binutils
parent1ae1b8cc656639e18715829cbcd72916e86f3324 (diff)
downloadgdb-20ad5e2842911039a60b6bdf9880cee895179e43.zip
gdb-20ad5e2842911039a60b6bdf9880cee895179e43.tar.gz
gdb-20ad5e2842911039a60b6bdf9880cee895179e43.tar.bz2
More fixes for processing corrupt files.
PR binutils/17512 * coffcode.h (coff_set_alignment_hook): Warn if the file lies about the number of relocations it contains. (coff_sort_func_alent): Return 0 if the pointers are NULL. (coff_slurp_line_table): Add more range checks. Do not free new tables created when sorting line numbers. * peXXigen.c (pe_print_idata): Add range checks. (pe_print_edata): Likewise. (rsrc_print_resource_entries): Likewise. Avoid printing control characters. Terminate priniting if corruption is detected. (rsrc_print_resource_directory): Terminate printing if an unknown directory type is encountered. (pe_print_debugdata): Fix off-by-one error. (rsrc_count_entries): Add range checking. (rsrc_parse_entry): Likewise.
Diffstat (limited to 'binutils')
0 files changed, 0 insertions, 0 deletions