Commit Graph

14 Commits

Author SHA1 Message Date
Stig Bjørlykke 84bc28bd6a Introduce "Fragment count" filter element for all protocols doing reassembly.
svn path=/trunk/; revision=35705
2011-01-30 21:01:07 +00:00
Guy Harris 6b38961a95 Instead of going over the Report segment twice, once to get the fields
in the segment and once to put them into the protocol tree, just do it
once.  That also means we don't need to allocate an array for all the
reception claims, so we don't have to worry about the claim count (other
than making sure it's non-negative), and that we won't abort the
dissection until we run past the end of the packet.

(The rest of the dissector should be changed to work that way as well.)

svn path=/trunk/; revision=35356
2011-01-04 07:48:28 +00:00
Chris Maynard f18068e9ef Improve sanity checking of reception claim count. Fixes bug 5521.
svn path=/trunk/; revision=35287
2010-12-28 18:02:24 +00:00
Guy Harris a8bc4a0d13 Rename the routines that handle dissector tables with unsigned integer
keys to have _uint in their names, to match the routines that handle
dissector tables with string keys.  (Using _port can confuse people into
thinking they're intended solely for use with TCP/UDP/etc. ports when,
in fact, they work better for things such as Ethernet types, where the
binding of particular values to particular protocols are a lot
stronger.)

svn path=/trunk/; revision=35224
2010-12-20 05:35:29 +00:00
Gerasimos Dimitriadis c79b4e5473 Fix for bug 4509:
Make sure that the length addition results have not wrapped.

svn path=/trunk/; revision=31945
2010-02-22 00:04:51 +00:00
Guy Harris 6105fcc8d5 Squelch some uninitialized-variable warnings (they're false positives).
svn path=/trunk/; revision=31936
2010-02-20 18:51:56 +00:00
Guy Harris 4a44d2c3dd Cast away some implicit-narrowing-conversion warnings.
svn path=/trunk/; revision=31935
2010-02-20 18:36:01 +00:00
Anders Broman cb427754aa Add a protocol reference.
svn path=/trunk/; revision=31930
2010-02-20 11:53:36 +00:00
Stig Bjørlykke 9d918146ff Changed val_to_str() to val_to_str_const() when used with col_set_str().
svn path=/trunk/; revision=31535
2010-01-15 13:51:47 +00:00
Guy Harris 07f9348849 Use the right field for the extension length. Should fix
http://buildbot.wireshark.org/trunk/builders/Ubuntu-7.10-x86-64/builds/311/steps/run-randpkt/logs/stdio

svn path=/trunk/; revision=31270
2009-12-14 23:55:50 +00:00
Gerald Combs 2ebdf97ca3 Add an item length check to the DTN dissector. Fixes bugs 4277
and 4278.  Add a couple of expert items.

svn path=/trunk/; revision=31133
2009-11-30 18:10:46 +00:00
Gerald Combs 9417a7c86f From Jakub Zawadzki via bug 4274:
Switch back to checking size instead of asize in emem_alloc_chunk. Make
sure we don't try to cross the streams by allocating a negative amount
of memory in the LTP dissector.

svn path=/trunk/; revision=31132
2009-11-30 17:31:13 +00:00
Jaap Keuter 6cdc6d4968 Try to get the Win64 compile going as well.
svn path=/trunk/; revision=31124
2009-11-29 22:47:03 +00:00
Jaap Keuter c795dd1af5 From Mithun Roy:
This is a patch for a new dissector that decodes LTP (Licklider Transmission
Protocol) data according to RFC 5326.

svn path=/trunk/; revision=31120
2009-11-29 19:11:55 +00:00