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@