summaryrefslogtreecommitdiff
path: root/usr.bin/mg
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2008-07-08 15:06:51 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2008-07-08 15:06:51 +0000
commit7a3d395c69db3c8452efe68ea465fcf6112fd974 (patch)
tree44880e242123b2ed45f33bcc03868e65428e889d /usr.bin/mg
parentfb81790dae641d1e61107add3c97f9addbb93edc (diff)
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@
Diffstat (limited to 'usr.bin/mg')
0 files changed, 0 insertions, 0 deletions