[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/17512] libbfd/binutils: crashes on fuzzed samples
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug binutils/17512] libbfd/binutils: crashes on fuzzed samples |
Date: |
Mon, 05 Jan 2015 23:15:20 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=17512
--- Comment #145 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 896ca0981329171639b1fe0b934393a79ef4fdfb (commit)
from 82b1b41bcdc6d01fdbd94b246e24a8a8f8c2bddd (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=896ca0981329171639b1fe0b934393a79ef4fdfb
commit 896ca0981329171639b1fe0b934393a79ef4fdfb
Author: Nick Clifton <address@hidden>
Date: Mon Jan 5 23:13:50 2015 +0000
More fixes for invalid memory accesses triggered by fuzzed binaries.
PR binutils/17512
* nm.c (print_symbol): Add 'is_synthetic' parameter. Use it to
help initialize the info.elfinfo field.
(print_size_symbols): Add 'synth_count' parameter. Use it to set
the is_synthetic parameter when calling print_symbol.
(print_symbols): Likewise.
(display_rel_file): Pass synth_count to printing function.
(display_archive): Break loop if the last archive displayed
matches the current archive.
* size.c (display_archive): Likewise.
* archive.c (do_slurp_bsd_armap): Make sure that the parsed sized
is at least big enough for the header to be read.
* elf32-i386.c (elf_i386_get_plt_sym_val): Skip unknown relocs.
* mach-o.c (bfd_mach_o_get_synthetic_symtab): Add range checks.
(bfd_mach_o_read_command): Prevetn duplicate error messages about
unrecognized commands.
* syms.c (_bfd_stab_section_find_nearest_line): Add range checks
when indexing into the string table.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 12 +++++++++
bfd/archive.c | 3 +-
bfd/elf32-i386.c | 5 ++-
bfd/elfcode.h | 3 +-
bfd/mach-o.c | 61 +++++++++++++++++++++++++++++++++++---------
bfd/syms.c | 12 +++++++++
binutils/ChangeLog | 13 +++++++++
binutils/nm.c | 71 ++++++++++++++++++++++++++++++++++++---------------
binutils/size.c | 9 ++++++-
9 files changed, 150 insertions(+), 39 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/17512] libbfd/binutils: crashes on fuzzed samples, cherepan at mccme dot ru, 2015/01/02
- [Bug binutils/17512] libbfd/binutils: crashes on fuzzed samples, cherepan at mccme dot ru, 2015/01/03
- [Bug binutils/17512] libbfd/binutils: crashes on fuzzed samples, cherepan at mccme dot ru, 2015/01/03
- [Bug binutils/17512] libbfd/binutils: crashes on fuzzed samples, cherepan at mccme dot ru, 2015/01/03
- [Bug binutils/17512] libbfd/binutils: crashes on fuzzed samples, cherepan at mccme dot ru, 2015/01/03
- [Bug binutils/17512] libbfd/binutils: crashes on fuzzed samples,
cvs-commit at gcc dot gnu.org <=
- [Bug binutils/17512] libbfd/binutils: crashes on fuzzed samples, nickc at redhat dot com, 2015/01/05
- [Bug binutils/17512] libbfd/binutils: crashes on fuzzed samples, cvs-commit at gcc dot gnu.org, 2015/01/05
- [Bug binutils/17512] libbfd/binutils: crashes on fuzzed samples, cvs-commit at gcc dot gnu.org, 2015/01/06
- [Bug binutils/17512] libbfd/binutils: crashes on fuzzed samples, nickc at redhat dot com, 2015/01/06
- [Bug binutils/17512] libbfd/binutils: crashes on fuzzed samples, cvs-commit at gcc dot gnu.org, 2015/01/06
- [Bug binutils/17512] libbfd/binutils: crashes on fuzzed samples, cvs-commit at gcc dot gnu.org, 2015/01/06
- [Bug binutils/17512] libbfd/binutils: crashes on fuzzed samples, nickc at redhat dot com, 2015/01/06
- [Bug binutils/17512] libbfd/binutils: crashes on fuzzed samples, cvs-commit at gcc dot gnu.org, 2015/01/06
- [Bug binutils/17512] libbfd/binutils: crashes on fuzzed samples, cvs-commit at gcc dot gnu.org, 2015/01/07
- [Bug binutils/17512] libbfd/binutils: crashes on fuzzed samples, nickc at redhat dot com, 2015/01/07