Re: [PATCH] genattrtab: avoid NULL-deref on error

2012-04-24 Thread Jim Meyering
Richard Guenther wrote: > On Sat, Apr 21, 2012 at 5:53 PM, Jim Meyering wrote: >> I see that no one responded when I posted this in February. >> Ok to commit, now? > > Ok. Thanks. Pushed.

Re: [PATCH] genattrtab: avoid NULL-deref on error

2012-04-23 Thread Richard Guenther
On Sat, Apr 21, 2012 at 5:53 PM, Jim Meyering wrote: > I see that no one responded when I posted this in February. > Ok to commit, now? Ok. Thanks, Richard. > 2012-02-24  Jim Meyering   > >        * genattrtab.c (gen_attr): Avoid NULL-deref after diagnosing >        absence of an define_enum ca

[PATCH] genattrtab: avoid NULL-deref on error

2012-04-21 Thread Jim Meyering
I see that no one responded when I posted this in February. Ok to commit, now? 2012-02-24 Jim Meyering * genattrtab.c (gen_attr): Avoid NULL-deref after diagnosing absence of an define_enum call. diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c index 4a4c2a2..bfbe3e8 100644 -

[PATCH] genattrtab: avoid NULL-deref on error

2012-02-24 Thread Jim Meyering
This fixes a coverity-spotted issue. A NULL "et" could be dereferenced after the diagnostic is issued. 2012-02-24 Jim Meyering genattrtab: avoid NULL-deref on error * genattrtab.c (gen_attr): Avoid NULL-deref after diagnosing absence of an defin_enum call. diff --git