binutils-gdb/binutils/ChangeLog
Alan Modra 1cfcf3004e PR27290, PR27293, PR27295, various avr objdump fixes
Adds missing sanity checks for avr device info note, to avoid
potential buffer overflows.  Uses bfd_malloc_and_get_section for
sanity checking section size.

	PR 27290
	PR 27293
	PR 27295
	* od-elf32_avr.c (elf32_avr_get_note_section_contents): Formatting.
	Use bfd_malloc_and_get_section.
	(elf32_avr_get_note_desc): Formatting.  Return descsz.  Sanity
	check namesz.  Return NULL if descsz is too small.  Ensure
	string table is terminated.
	(elf32_avr_get_device_info): Formatting.  Add note_size param.
	Sanity check note.
	(elf32_avr_dump_mem_usage): Adjust to suit.
2021-02-11 19:30:47 +10:30

248 lines
6.6 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

2021-02-11 Alan Modra <amodra@gmail.com>
PR 27290
PR 27293
PR 27295
* od-elf32_avr.c (elf32_avr_get_note_section_contents): Formatting.
Use bfd_malloc_and_get_section.
(elf32_avr_get_note_desc): Formatting. Return descsz. Sanity
check namesz. Return NULL if descsz is too small. Ensure
string table is terminated.
(elf32_avr_get_device_info): Formatting. Add note_size param.
Sanity check note.
(elf32_avr_dump_mem_usage): Adjust to suit.
2021-02-10 Tom de Vries <tdevries@suse.de>
PR binutils/27391
* dwarf.c (load_dwo_file): Handle case that name is absolute path.
2021-02-10 Tom de Vries <tdevries@suse.de>
PR binutils/27371
* dwarf.c (display_debug_ranges): Filter range lists according to
section.
2021-02-09 Tom de Vries <tdevries@suse.de>
PR binutils/27370
* dwarf.c (get_type_abbrev_from_form): Handle DW_FORM_ref_sig8.
2021-02-09 Tom de Vries <tdevries@suse.de>
PR binutils/27386
* dwarf.c (process_debug_info): Handling DW_UT_skeleton and
DW_UT_split_compile.
2021-02-09 Alan Modra <amodra@gmail.com>
* testsuite/lib/binutils-common.exp (supports_gnu_osabi): Remove
symbianelf.
2021-02-07 Alan Modra <amodra@gmail.com>
* unwind-ia64.c (unw_print_xyreg): Don't leave output buffer
uninitialised on invalid input.
2021-02-06 Alan Modra <amodra@gmail.com>
PR 27349
* rename.c (smart_rename): Test for existence and type of output
file with lstat.
2021-02-05 Nick Clifton <nickc@redhat.com>
* MAINTAINERS: Remove Richard Henderson as the ALPHA maintainer.
2021-02-05 Eli Zaretskii <eliz@gnu.org>
PR 27252
* elfedit.c (check_file):
* bucomm.c (get_file_size): Fix typos in comments.
2021-02-05 Alan Modra <amodra@gmail.com>
PR 27345
* arsup.c (ar_save): Use stat rather than lstat.
2021-02-03 Alan Modra <amodra@gmail.com>
PR 27270
PR 27284
PR 26945
* ar.c: Don't include libbfd.h.
(write_archive): Replace xmalloc+strcpy with xstrdup. Use
bfd_stat rather than fstat on iostream. Move stat and fd tests
outside of _WIN32 ifdef. Delete skip_stat variable.
* arsup.c (temp_name, real_ofd): New static variables.
(ar_open): Use make_tempname and bfd_fdopenw.
(ar_save): Adjust to suit ar_open changes. Move stat output
of _WIN32 ifdef.
* objcopy.c: Don't include libbfd.h.
(copy_file): Use bfd_stat.
2021-02-02 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/27281
* readelf.c (process_section_headers): Add 'R' and 'D' to
"Key to Flags:".
* testsuite/binutils-all/retain1a.d: Updated.
2021-01-30 Nick Clifton <nickc@redhat.com>
* README-how-to-make-a-release: Small updates after the 2.35.2
release.
2021-01-28 Eli Zaretskii <eliz@gnu.org>
PR 4356
* windres.c (quot): Use double quotes to protect strings on
Windows platforms.
2021-01-28 Eli Zaretskii <eliz@gnu.org>
PR 27252
* bucomm.c (get_file_size): Add code to handle /dev/null on
Windows systems.
* elfedit.c (check_file): Likewise.
2021-01-27 Nick Clifton <nickc@redhat.com>
* objcopy.c (copy_main): Remove conditional control of the calls
to free, simplifying the code and making it easier to detect
typos.
2021-01-26 Frederic Cambus <fred@statdns.com>
* objcopy.c (copy_main): Fix a double free happening when both
--localize-symbols and --globalize-symbols options are invoked
together.
2021-01-24 Nick Clifton <nickc@redhat.com>
* README-how-to-make-a-release: Minor updates after the 2.36 release.
2021-01-16 Alan Modra <amodra@gmail.com>
* readelf.c (uncompress_section_contents): Tidy inflateEnd result test.
2021-01-15 Alan Modra <amodra@gmail.com>
PR 26539
* readelf.c (uncompress_section_contents): Always call inflateEnd.
2021-01-14 Alexandre Oliva <oliva@gnu.org>
* MAINTAINERS: Update my email address.
2021-01-14 Nick Clifton <nickc@redhat.com>
* po/sv.po: Updated Swedish translation.
2021-01-13 Alan Modra <amodra@gmail.com>
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
2021-01-13 Zebediah Figura <z.figura12@gmail.com>
PR 27037
* dlltool.c (i386_trampoline): Adjust %rsp immediately on entry
and before exit.
(i386_x64_trampoline): Add SEH annotations.
(struct mac): Add how_seh field.
(make_delay_head): If how_set field is true add SEh instructions.
2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/26792
* configure.ac: Use GNU_MAKE_JOBSERVER.
* aclocal.m4: Regenerated.
* configure: Likewise.
2021-01-12 Nick Clifton <nickc@redhat.com>
* po/fr.po: Updated French translation.
2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
PR ld/27173
* configure: Regenerated.
2021-01-11 Nick Clifton <nickc@redhat.com>
* po/pt.po: Updated Portuguese translation.
* po/sr.po: Updated Serbian translation.
* po/uk.po: Updated Ukranian translation.
2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
* configure: Regenerated.
2021-01-09 Nick Clifton <nickc@redhat.com>
* configure: Regenerate.
* po/binutils.pot: Regenerate.
2021-01-09 Nick Clifton <nickc@redhat.com>
* 2.36 release branch crated.
* README-how-to-make-a-release: Add note about updating Makefiles
and libtool files.
* BRANCHES: Add binutils-2.36-branch.
2021-01-09 Alan Modra <amodra@gmail.com>
* configure: Regenerate.
2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
* configure: Regenerate.
2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
PR 27109
* objcopy.c (copy_object): Handle section symbols for
non-relocatable inputs.
* testsuite/binutils-all/readelf.exp (readelf_test): Check
is_elf_unused_section_symbols.
* testsuite/binutils-all/readelf.s-64: Updated.
* testsuite/binutils-all/readelf.ss: Likewise.
* testsuite/binutils-all/readelf.ss-64: Likewise.
* testsuite/binutils-all/readelf.s-64-unused: New file.
* testsuite/binutils-all/readelf.ss-64-unused: Likewise.
* testsuite/binutils-all/readelf.ss-unused: Likewise.
* testsuite/lib/binutils-common.exp
(is_elf_unused_section_symbols): New proc.
2021-01-06 Reuben Thomas <rrt@sc3d.org>
* binutils/readelf.c: Correct grammar in comment.
2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
* coffgrok.c (do_type): Correct spelling of auxiliary in errors.
* doc/binutils.texi: Correct grammar.
* readelf.c (process_version_sections): Correct spelling of auxiliary
in warning.
* testsuite/binutils-all/vax/objdump.exp: Comment grammar fix.
2021-01-01 Alan Modra <amodra@gmail.com>
Update year range in copyright notice of all files.
For older changes see ChangeLog-2020
Copyright (C) 2021 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
Local Variables:
mode: change-log
left-margin: 8
fill-column: 74
version-control: never
End: