This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb and binutils branch master updated. 601a03ba3d521989584a1f8abd5678040e0218cf


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  601a03ba3d521989584a1f8abd5678040e0218cf (commit)
      from  a3e60ddb0b43a3aed32f2982d472ab305c7e8f67 (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=601a03ba3d521989584a1f8abd5678040e0218cf

commit 601a03ba3d521989584a1f8abd5678040e0218cf
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Nov 19 19:10:49 2014 +1030

    _bfd_elf_slurp_version_tables tidy
    
    The internal verref buffer is allocated with bfd_zalloc, based on a
    count given in headers.  If the headers are broken/fuzzed and contain
    an enormous count the alloc can result in OOM.  If we first read the
    external verrefs (into a buffer that isn't zeroed on allocation) then
    the read provides a sanity check on the headers.
    
    Also prints an error for version info that fails other sanity checks.
    
    	* elf.c (_bfd_elf_slurp_version_tables): Delay allocation of
    	internal verref buffer.  Error for zero sh_info.  Print errors.
    	Check for zero vd_ndx.  Use bfd_zalloc for vd_auxptr buffer.

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog |    6 ++++
 bfd/elf.c     |   89 +++++++++++++++++++++++++++++---------------------------
 2 files changed, 52 insertions(+), 43 deletions(-)


hooks/post-receive
-- 
gdb and binutils


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]