On Tue, Jul 08, 2008 at 09:06:50AM -0600, Otto Moerbeek wrote:
> CVSROOT: /cvs
> Module name: src
> Changes by: [EMAIL PROTECTED] 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