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

Date: Wed, 05 Jan 2011 03:40:06 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=35368

User: morriss
Date: 2011/01/04 07:40 PM

Log:
 Use reported length (instead of the captured length) when dissecting error
 causes (should have been in rev 35366).
 
 When generating TVB subsets, limit the subset's backing and reported lengths to
 the (captured) TVB length and the reported TVB length, respectively.
 
 This allows us to dissect most of the packet in
 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5546
 before asserting out.
 
 It also yields similar better behavior when the capture is limited by a
 snapshot length.

Directory: /trunk/epan/dissectors/
  Changes    Path             Action
  +93 -66    packet-sctp.c    Modified