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 44377: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Thu, 09 Aug 2012 13:20:39 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=44377

User: morriss
Date: 2012/08/09 06:20 AM

Log:
 From Stephen Donnelly: a better fix for the fuzz failure reported in
 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7563 :
 
 Previous patch solved the reported problem. This patch should cover input
 validation for the VC Id and Link Rate fields properly.
 
 Note link_rate==0 (unknown) is supported, as some hardware/firmware may not set
 this field, but vc_size==0 is defined invalid.
 
 
 From me: also initialize m_sdh_line_rate when the input is garbage.

Directory: /trunk/epan/dissectors/
  Changes    Path            Action
  +29 -29    packet-erf.c    Modified