bug-bison
[Top][All Lists]
Advanced

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

Re: Bison GLR buffer-overflow and invalid pointer fixes


From: Frank Heckenbach
Subject: Re: Bison GLR buffer-overflow and invalid pointer fixes
Date: Thu, 7 Jul 2005 19:59:08 +0200
User-agent: semail 20050409

Paul Eggert wrote:

> Paul Hilfinger <address@hidden> writes:
> 
> > Presumably, we should use sigsetjmp/siglongjmp and decide now whether
> > we want the signal context to be restored.  If you contemplate using
> > some other mechanism, then presumably your preference is that the
> > signal mask NOT be reset by failure (which would be my preference).
> 
> Yes, that sounds right to me as well.
> 
> Older systems won't have sigsetjmp/siglongjmp, but glr.c already
> assumes a relatively modern system,

Does it? I remember doing some changes to lower the requirement, but
I'm not sure exactly what's required at the moment.

> so I suppose we needn't worry
> about that.

If not available, one could of course always #define them to
setjmp/longjmp, I suppose.

Frank

-- 
Frank Heckenbach, address@hidden
http://fjf.gnu.de/
GnuPG and PGP keys: http://fjf.gnu.de/plan (7977168E)




reply via email to

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