gdb and binutils branch master updated. 173373c6f6388171d1d62a217fae90a052395be2

palves@sourceware.org palves@sourceware.org
Wed Jun 11 11:00:00 GMT 2014


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  173373c6f6388171d1d62a217fae90a052395be2 (commit)
      from  364fe1f72265eb54bce08511233d06ed48e9c41a (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=173373c6f6388171d1d62a217fae90a052395be2

commit 173373c6f6388171d1d62a217fae90a052395be2
Author: Andrew Burgess <aburgess@broadcom.com>
Date:   Tue May 27 11:57:33 2014 +0100

    Delete temporary string within demangler even in failure cases.
    
    A call to demangle_template might allocate storage within a temporary
    string even if the call to demangle_template eventually returns
    failure.
    
    This will never cause the demangler to crash, but does leak memory, as
    a result I've not added any tests for this.
    
    Calling string_delete is safe, even if nothing is allocated into the
    string, the string is initialised with string_init, so we know the
    internal pointers are NULL.
    
    libiberty/ChangeLog
    
    	* cplus-dem.c (do_type): Call string_delete even if the call to
    	demangle_template fails.

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

Summary of changes:
 libiberty/ChangeLog   |    5 +++++
 libiberty/cplus-dem.c |    5 ++++-
 2 files changed, 9 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
gdb and binutils



More information about the Src-cvs mailing list