Wireshark-commits: [Wireshark-commits] rev 50336: /trunk/tools/lemon/ /trunk/tools/lemon/: lempar.c

Date: Wed, 03 Jul 2013 02:28:27 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=50336

User: cmaynard
Date: 2013/07/02 07:28 PM

Log:
 Fix Coverity CID 660 (Negative array index read) by holding off the assignment to yytos until after we check that pParser->yyidx is non-negative.
 See also: http://cwe.mitre.org/data/definitions/129.html
 #BACKPORT(1.10)

Directory: /trunk/tools/lemon/
  Changes    Path          Action
  +34 -18    lempar.c      Modified