Wireshark-commits: [Wireshark-commits] rev 40252: /trunk-1.4/ /trunk-1.4/epan/: packet.c /trunk-1.4
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=40252
User: jake
Date: 2011/12/20 10:03 AM
Log:
------------------------------------------------------------------------
r40164 | guy | 2011-12-13 01:44:22 +0100 (Tue, 13 Dec 2011) | 5 lines
Clamp the reported length of a packet at G_MAXINT for now, to avoid
crashes due to having no tvbuffs for an epan_dissect_t.
Fixes bug 6663 and its soon-to-be-duplicates.
------------------------------------------------------------------------
r40165 | guy | 2011-12-13 01:57:09 +0100 (Tue, 13 Dec 2011) | 3 lines
Add missing check for a too-large packet, so we don't blow up trying to
allocate a huge buffer; fixes bug 6666.
------------------------------------------------------------------------
r40166 | guy | 2011-12-13 02:05:52 +0100 (Tue, 13 Dec 2011) | 3 lines
Add missing check for a too-large packet, so we don't blow up trying to
allocate a huge buffer; fixes bug 6667.
------------------------------------------------------------------------
r40167 | guy | 2011-12-13 02:24:12 +0100 (Tue, 13 Dec 2011) | 5 lines
Add missing checks for a too-large packet, so we don't blow up trying to
allocate a huge buffer; fixes bug 6668.
Also add some other checks for invalid records.
------------------------------------------------------------------------
r40168 | guy | 2011-12-13 02:49:27 +0100 (Tue, 13 Dec 2011) | 3 lines
Add an arbitrary limit on the maximum size of the frame table, so that
we don't crash. Fixes bug 6669.
------------------------------------------------------------------------
r40174 | guy | 2011-12-13 07:45:16 +0100 (Tue, 13 Dec 2011) | 4 lines
Crank up the maximum frame table size to 512*2^20 packets, that being a
small amount bigger than the maximum possible number of packets in a
NetMon file.
------------------------------------------------------------------------
r40169 | guy | 2011-12-13 03:00:41 +0100 (Tue, 13 Dec 2011) | 2 lines
Check for a bogus record size. Fixes bug 6670.
------------------------------------------------------------------------
r40170 | guy | 2011-12-13 03:42:42 +0100 (Tue, 13 Dec 2011) | 3 lines
Add missing checks for a too-large packet, so we don't blow up trying to
allocate a huge buffer.
------------------------------------------------------------------------
Directory: /trunk-1.4/epan/
Changes Path Action
+25 -1 packet.c Modified
Directory: /trunk-1.4/wiretap/
Changes Path Action
+10 -0 5views.c Modified
+14 -1 airopeek9.c Modified
+10 -0 i4btrace.c Modified
+64 -2 iptrace.c Modified
+10 -0 lanalyzer.c Modified
+20 -0 netmon.c Modified
+11 -0 nettl.c Modified
+10 -0 packetlogger.c Modified