This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
gdb and binutils branch master updated. 041830e03cca866f12be18198898139e558ad31e
- From: nickc at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 14 Nov 2014 12:30:58 -0000
- Subject: gdb and binutils branch master updated. 041830e03cca866f12be18198898139e558ad31e
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 041830e03cca866f12be18198898139e558ad31e (commit)
from 646da0594c91719ef591d8736865a1d58fbbfc34 (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=041830e03cca866f12be18198898139e558ad31e
commit 041830e03cca866f12be18198898139e558ad31e
Author: Nick Clifton <nickc@redhat.com>
Date: Fri Nov 14 12:30:00 2014 +0000
More fixes for invalid memory accesses triggered by corrupt binaries.
PR binutils/17512
* dwarf.c (get_encoded_value): Add an 'end' parameter. Change the
'data' parameter to a double pointer and return the updated value.
(decode_location_expression): Update call to get_encoded_value.
(frame_need_space): Handle the case where one or both of the
mallocs fails.
(read_cie): Initialise the cie pointer, even if the read fails.
(display_debug_frames): Warn if the calculated block_end is before
the start of the block. Break the loop if the CIE could not be
read. Update call to get_encoded_value. Warn if the read CFA
expressions are too big.
* ieee.c (ieee_archive_p) Skip processing if no bytes are read at
all.
(ieee_object_p): Likewise.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 7 +++++
bfd/ieee.c | 6 +++-
binutils/ChangeLog | 14 +++++++++++
binutils/dwarf.c | 65 +++++++++++++++++++++++++++++++++++++++------------
4 files changed, 74 insertions(+), 18 deletions(-)
hooks/post-receive
--
gdb and binutils