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

Reply via email to