m4-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 34-fyi-un-segv.patch


From: Gary V. Vaughan
Subject: Re: 34-fyi-un-segv.patch
Date: Wed, 5 Sep 2001 19:33:12 +0100
User-agent: Mutt/1.3.21i

On Wed, Sep 05, 2001 at 09:16:21AM +0200, Akim Demaille wrote:
> I must say I don't understand why this causes a SEGV.  Is it related
> to the sizeof things?

Does it SEGV every time, or only if m4_symbol_pushdef needs to be
called?  I suspect the latter.

If so, does is SEGV before entering m4_symbol_pushdef or after it has
returned?  I suspect the former.

If my suspicions are correct, then I imagine it has to do with
handling the discarded return value from m4_symbol_lookup on the
stack...

> Index: ChangeLog
> from  Akim Demaille  <address@hidden>
> 
>       * m4/symtab.c (m4_symbol_insert): Don't use `foo () || bar ()'
>       with pointers.

Cheers,
        Gary.
-- 
  ())_. Gary V. Vaughan     gary@(oranda.demon.co.uk|gnu.org)
  ( '/  Research Scientist  http://www.oranda.demon.co.uk       ,_())____
  / )=  GNU Hacker          http://www.gnu.org/software/libtool  \'      `&
`(_~)_  Tech' Author        http://sources.redhat.com/autobook   =`---d__/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]