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 41008: /trunk/wiretap/ /trunk/wiretap/: pcap-common.c

Date: Mon, 13 Feb 2012 03:03:04 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=41008

User: morriss
Date: 2012/02/12 07:03 PM

Log:
 Fix the crash reported in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6804
 
 For WTAP_ENCAP_ERF files if we find an Extension and/or Multi-Channel header,
 ensure that the size of the full pseudoheader is smaller than the packet size
 to avoid an underflow and subsequent attempt to allocate a rather large amount
 of memory.

Directory: /trunk/wiretap/
  Changes    Path             Action
  +12 -0     pcap-common.c    Modified