[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-cvs
Subject:    Re: CVS: cvs.openbsd.org: src
From:       Otto Moerbeek <otto () drijf ! net>
Date:       2008-07-08 15:13:17
Message-ID: 20080708151317.GA17633 () pepper ! intra ! drijf ! net
[Download RAW message or body]

On Tue, Jul 08, 2008 at 09:06:50AM -0600, Otto Moerbeek wrote:

> CVSROOT:	/cvs
> Module name:	src
> Changes by:	otto@cvs.openbsd.org	2008/07/08 09:06:50
> 
> Modified files:
> 	usr.bin/yacc   : skeleton.c 
> 
> Log message:
> Fix an venerable bug: if we're reducing a rule that has an empty
> right hand side and the yacc stackpointer is pointing at the very
> end of the allocated stack, we end up accessing the stack out of
> bounds by the implicit $$ = $1 action.  Detected by my new malloc,
> experienced by sturm@ on sparc64; ok deraadt@

To fully enjoy the fix, rebuild yacc and install before doing a full
build with a clean obj to make sure all yacc generated parsers get
regenerated.

	-Otto

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic