Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

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

Date: Fri, 23 Oct 2009 15:55:46 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=30672

User: morriss
Date: 2009/10/23 08:55 AM

Log:
 dissect_udp_bundle(): check if dissect_payload_header() or
 display_metadata_block() return 0 (meaning they failed to decode something and
 the offset was not incremented) rather than checking if the resulting offset
 is 0.
 
 This fixes the infinite loop reported in:
 
 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4156

Directory: /trunk/epan/dissectors/
  Changes    Path            Action
  +11 -7     packet-dtn.c    Modified