From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14767 invoked by alias); 11 Jun 2014 11:00:55 -0000 Mailing-List: contact src-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: src-cvs-owner@sourceware.org Received: (qmail 14740 invoked by uid 9683); 11 Jun 2014 11:00:53 -0000 Date: Wed, 11 Jun 2014 11:00:00 -0000 Message-ID: <20140611110051.14706.qmail@sourceware.org> From: palves@sourceware.org To: src-cvs@sourceware.org Subject: gdb and binutils branch master updated. 173373c6f6388171d1d62a217fae90a052395be2 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 364fe1f72265eb54bce08511233d06ed48e9c41a X-Git-Newrev: 173373c6f6388171d1d62a217fae90a052395be2 X-SW-Source: 2014-q2/txt/msg00024.txt.bz2 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 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