DragonFly commits List (threaded) for 2008-07
DragonFly BSD
DragonFly commits List (threaded) for 2008-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Michael Neumann <mneumann@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 12 Jul 2008 09:52:48 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]