Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@gnu.org>
To: Michael Elizabeth Chastain <mec.gnu@mindspring.com>
Cc: gdb-patches@sources.redhat.com, randolph@tausq.org
Subject: Re: [patch/hpux] hpread.c: init alloca'd memory, pr gdb/1661
Date: Tue, 01 Jun 2004 01:45:00 -0000	[thread overview]
Message-ID: <40BBDF9D.7000302@gnu.org> (raw)
In-Reply-To: <20040531201202.327C84B104@berman.michael-chastain.com>

> 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  <mec.gnu@mindspring.com>
> 
> 	Fix PR symtab/1661.
> 	* hpread.c (hpread_pxdb_needed): Call memset after alloca.
> 	(hpread_read_struct_type): Likewise.



  reply	other threads:[~2004-06-01  1:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-31 20:12 Michael Elizabeth Chastain
2004-06-01  1:45 ` Andrew Cagney [this message]
2004-06-01  2:39 Michael Elizabeth Chastain
2004-06-01  3:09 ` Randolph Chung
2004-06-01  3:15 Michael Elizabeth Chastain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40BBDF9D.7000302@gnu.org \
    --to=cagney@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=mec.gnu@mindspring.com \
    --cc=randolph@tausq.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox