cvs commit: src/usr.bin/yacc skeleton.c

Kevin Lo kevlo at
Mon Jul 21 01:13:47 UTC 2008

kevlo       2008-07-21 01:13:33 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    usr.bin/yacc         skeleton.c 
  SVN rev 180642 on 2008-07-21 01:13:33Z by kevlo
  MFC: r180597
  Fix a longstanding bug, from Otto Moerbeck:
  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
  Revision   Changes    Path  +5 -1      src/usr.bin/yacc/skeleton.c

More information about the cvs-src mailing list