cvs commit: src/usr.bin/yacc skeleton.c
Michael Neumann
mneumann at crater.dragonflybsd.org
Sat Jul 12 09:53:49 PDT 2008
mneumann 2008/07/12 09:52:48 PDT
DragonFly src repository
Modified files:
usr.bin/yacc skeleton.c
Log:
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.
Obtained-from: OpenBSD (skeleton.c rev 1.29)
Revision Changes Path
1.7 +5 -0 src/usr.bin/yacc/skeleton.c
http://www.dragonflybsd.org/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.6&r2=1.7&f=u
More information about the Commits
mailing list