Wireshark-commits: [Wireshark-commits] rev 52766: /trunk/epan/ /trunk/epan/: proto.c

Date: Tue, 22 Oct 2013 16:02:14 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=52766

User: eapache
Date: 2013/10/22 04:02 PM

Log:
 Optimization: in test_length there's no need to validate that the count value
 for FT_UINT_STRINGs and FT_UINT_BYTEs is still in the TVB. Any infinite loop
 that adds a counted field ought to be extracting the length for its own offset
 anyways, in which case it will overflow on the next iteration and won't actually
 loop forever.

Directory: /trunk/epan/
  Changes    Path          Action
  +5 -20     proto.c       Modified