From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31163 invoked by alias); 1 Jun 2004 01:45:06 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 31156 invoked from network); 1 Jun 2004 01:45:05 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 1 Jun 2004 01:45:05 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i511j5i7009287 for ; Mon, 31 May 2004 21:45:05 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i511j4000771; Mon, 31 May 2004 21:45:05 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id D50B22B9D; Mon, 31 May 2004 21:45:01 -0400 (EDT) Message-ID: <40BBDF9D.7000302@gnu.org> Date: Tue, 01 Jun 2004 01:45:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: Michael Elizabeth Chastain Cc: gdb-patches@sources.redhat.com, randolph@tausq.org Subject: Re: [patch/hpux] hpread.c: init alloca'd memory, pr gdb/1661 References: <20040531201202.327C84B104@berman.michael-chastain.com> In-Reply-To: <20040531201202.327C84B104@berman.michael-chastain.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-06/txt/msg00002.txt.bz2 > This patch fixes some uninitialized memory in the HP symbol > table reader. See PR symtab/1661. > > I tested this on native hppa2.0w-hp-hpux11.11 with hpcc > B.11.11.28706.GP and hpacc A.03.45. > > MAINTAINERS says that "Any [past] maintainer" can modify the hp/ux > symtab reader, so I'm going to commit this in 24 hours if nobody > objects. After that, I am also going to test it on gdb_6_1-branch > and commit it to gdb_6_1-branch. Thanks. If you haven't guessed I'm waiting on the doco and hp to be resolved. Andrew (Must not suggest ... #define ZALLOCA(TYPE) ((TYPE *) memset (alloca (sizeof (TYPE)), 0, sizeof (TYPE))) ... ;-) > 2004-05-31 Michael Chastain > > Fix PR symtab/1661. > * hpread.c (hpread_pxdb_needed): Call memset after alloca. > (hpread_read_struct_type): Likewise.