Wireshark-commits: [Wireshark-commits] rev 54812: /trunk/wiretap/ /trunk/wiretap/: libpcap.c
Date: Wed, 15 Jan 2014 02:09:12 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=54812

User: eapache
Date: 2014/01/15 02:09 AM

Log:
 Reject pcap files that claim on-the-wire packet sizes > 64MB. This fixes many
 heuristic cases broken in r49999 when we permitted packets > 64KB, since that
 relaxed so severely the definition of a valid packet header.
 
 64MB is an arbitrary and perhaps suboptimal number, but it seems to do the right
 thing in all the examples I have handy.
 
 Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9634

Directory: /trunk/wiretap/
  Changes    Path          Action
  +18 -0     libpcap.c     Modified