Wireshark-commits: [Wireshark-commits] rev 34977: /trunk/epan/dissectors/ /trunk/epan/dissectors/:
Date: Fri, 19 Nov 2010 18:54:21 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=34977

User: morriss
Date: 2010/11/19 10:54 AM

Log:
 Verify the number of rectangles, sub-rectangles, the number of bytes of cut
 text, etc. are "sane" before:
 1) requesting enough bytes (from reassembly) to dissect them all
 2) (and) attempting to add them all to the tree
 
 Request all the bytes we'll need to dissect all those rectangles/sub-rectangles
 before starting dissection rather than checking before dissecting each
 rectangle/sub-rectangle.
 
 Use tvb_get_ephemeral_string().
 
 Use _U_ to mark unused arguments.
 
 Fix up some indentation.
 
 Get rid of one more DISSECTOR_ASSERT.

Directory: /trunk/epan/dissectors/
  Changes    Path            Action
  +103 -75   packet-vnc.c    Modified