Wireshark-commits: [Wireshark-commits] rev 39210: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Sun, 02 Oct 2011 08:12:09 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=39210

User: guy
Date: 2011/10/02 01:12 AM

Log:
 SQ_TYPE_NULL appears to do run-length encoding of nulls; do run-length
 encoding of the list of nulls in the protocol tree, so if we have a
 ridiculously large number of nulls, we don't have a ridiculously large
 number of protocol tree entries, one for each null.  This should
 (finally) fix bug 6378.
 
 Add some additional sanity checks to avoid integer overflows and
 underflows due to subtracting N from a value not guaranteed to be >= N.
 
 In the big switch statements for AFP command codes, put the break
 statement on a separate line, so it's a bit more obvious that the code
 isn't falling through.

Directory: /trunk/epan/dissectors/
  Changes    Path            Action
  +236 -99   packet-afp.c    Modified