[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/17531] readelf -a crashes on fuzzed samples
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug binutils/17531] readelf -a crashes on fuzzed samples |
Date: |
Mon, 01 Dec 2014 11:21:08 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=17531
--- Comment #47 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 591f7597d447d8d038d6d8e24a706d1d5e32eba1 (commit)
from 9e8cd6df3ca295986b2c295b6cfa5ceadd410bb4 (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=591f7597d447d8d038d6d8e24a706d1d5e32eba1
commit 591f7597d447d8d038d6d8e24a706d1d5e32eba1
Author: Nick Clifton <address@hidden>
Date: Mon Dec 1 11:19:39 2014 +0000
Add checks for memory access violations exposed by fuzzed archives.
PR binutils/17531
* dwarf.c (process_cu_tu_index): Check for an out of range row
index.
* elfcomm.c (adjust_relative_path): Change name_len parameter to
an unsigned long. Check for path length overflow.
(process_archive_index_and_symbols): Check for invalid header
size.
(setup_archive): Add checks for invalid archives.
(get_archive_member_name): Add range checks.
* elfcomm.h (adjust_relative_path): Update prototyoe.
* readelf.c (process_archive): Add range checks.
-----------------------------------------------------------------------
Summary of changes:
binutils/ChangeLog | 14 +++++++++++++
binutils/dwarf.c | 8 +++++++
binutils/elfcomm.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++----
binutils/elfcomm.h | 2 +-
binutils/readelf.c | 11 +++++----
5 files changed, 79 insertions(+), 11 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/17531] readelf -a crashes on fuzzed samples,
cvs-commit at gcc dot gnu.org <=
- [Bug binutils/17531] readelf -a crashes on fuzzed samples, nickc at redhat dot com, 2014/12/01
- [Bug binutils/17531] readelf -a crashes on fuzzed samples, cherepan at mccme dot ru, 2014/12/03
- [Bug binutils/17531] readelf -a crashes on fuzzed samples, cvs-commit at gcc dot gnu.org, 2014/12/03
- [Bug binutils/17531] readelf -a crashes on fuzzed samples, nickc at redhat dot com, 2014/12/03
- [Bug binutils/17531] readelf -a crashes on fuzzed samples, cherepan at mccme dot ru, 2014/12/04
- [Bug binutils/17531] readelf -a crashes on fuzzed samples, cherepan at mccme dot ru, 2014/12/04
- [Bug binutils/17531] readelf -a crashes on fuzzed samples, cvs-commit at gcc dot gnu.org, 2014/12/08
- [Bug binutils/17531] readelf -a crashes on fuzzed samples, nickc at redhat dot com, 2014/12/08
- [Bug binutils/17531] readelf -a crashes on fuzzed samples, cherepan at mccme dot ru, 2014/12/18
- [Bug binutils/17531] readelf -a crashes on fuzzed samples, cvs-commit at gcc dot gnu.org, 2014/12/22