OpenBSD CVS

CVS log for src/usr.bin/yacc/skeleton.c


[BACK] Up to [local] / src / usr.bin / yacc

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_4_4


Revision 1.29 / (download) - annotate - [select for diffs], Tue Jul 8 15:06:50 2008 UTC (15 years, 11 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.28: +7 -3 lines
Diff to previous 1.28 (colored)

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@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.