From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28058 invoked by alias); 22 Mar 2007 18:16:30 -0000 Received: (qmail 28048 invoked by uid 22791); 22 Mar 2007 18:16:29 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 22 Mar 2007 18:16:16 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l2MIGEAb005040; Thu, 22 Mar 2007 14:16:14 -0400 Received: from post-office.corp.redhat.com (post-office.corp.redhat.com [172.16.52.227]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l2MIGDZ3017389; Thu, 22 Mar 2007 14:16:13 -0400 Received: from greed.delorie.com (vpn-14-18.rdu.redhat.com [10.11.14.18]) by post-office.corp.redhat.com (8.12.11.20060308/8.11.6) with ESMTP id l2MIGDoo013745; Thu, 22 Mar 2007 14:16:13 -0400 Received: from greed.delorie.com (greed.delorie.com [127.0.0.1]) by greed.delorie.com (8.13.8/8.13.8) with ESMTP id l2MIG9cB011623; Thu, 22 Mar 2007 14:16:09 -0400 Received: (from dj@localhost) by greed.delorie.com (8.13.8/8.13.8/Submit) id l2MIG6Ft011620; Thu, 22 Mar 2007 14:16:06 -0400 Date: Thu, 22 Mar 2007 18:16:00 -0000 Message-Id: <200703221816.l2MIG6Ft011620@greed.delorie.com> From: DJ Delorie To: qinwei@sunnorth.com.cn CC: gdb-patches@sourceware.org In-reply-to: (message from qinwei on Thu, 22 Mar 2007 16:15:39 +0800) Subject: Re: [patch] libiberty/vasprintf.c bug References: X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-03/txt/msg00200.txt.bz2 If ptr is NULL, shouldn't we add strlen("(null)") ?