Commit Graph

25 Commits

Author SHA1 Message Date
Jeff Morriss 9335685106 Fix the fuzz failure in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5550 :
In dissect_amqp_0_10_array() if the 'type' is unknown, don't loop (for
potentially a very long time) adding the same element over and over again
(since the type is unknown, we don't know how much to increase the offset so
an exception is never thrown).

svn path=/trunk/; revision=35406
2011-01-06 21:07:58 +00:00
Guy Harris 8d35834342 Fix (legitimate) warning.
svn path=/trunk/; revision=35382
2011-01-05 17:38:03 +00:00
Guy Harris 216fed8397 From Steve Huston: add support for AMQP 0-10.
From me: add 0_9 to names for #defines and routines for 0-9, add expert
info for the "you ran past the end of the field table" error.

svn path=/trunk/; revision=35380
2011-01-05 17:19:48 +00:00
Guy Harris eaad8c00f2 Put end-of-field-table checks back into dissect_amqp_field_table().
svn path=/trunk/; revision=35369
2011-01-05 06:11:10 +00:00
Guy Harris 57f521fa1a Don't use DISSECTOR_ASSERT() to catch malformed packets. Fixes bug
4048.

svn path=/trunk/; revision=35357
2011-01-04 08:04:27 +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
Jeff Morriss 3edbdc151d Replace blurbs that match the name (case insensitive) with NULL.
svn path=/trunk/; revision=34229
2010-09-24 01:34:45 +00:00
Jeff Morriss 0ff5638f37 Replace blurbs that match the name (case insensitive) with NULL.
svn path=/trunk/; revision=34227
2010-09-23 21:46:31 +00:00
Guy Harris 969b98fa35 tvb_get_ntohl() doesn't return a long on any platform (it returns a
guint32, and on no platform supported by GLib, and thus on no platform
supported by Wireshark, does a guint32 have to be an unsigned long), so
there's no need to cast it to long and print it with %lld.

svn path=/trunk/; revision=31540
2010-01-16 02:39:25 +00:00
Stig Bjørlykke 0929d61df2 Changed abbrev for amqp_field.
svn path=/trunk/; revision=31431
2010-01-03 15:09:26 +00:00
Anders Broman 88bb44a51e From Jakub Zawadzki:
Cleanup dissector code - use proper memory functions.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4164

svn path=/trunk/; revision=30691
2009-10-25 11:43:30 +00:00
Kovarththanan Rajaratnam ac463d2697 Don't guard col_clear with col_check
svn path=/trunk/; revision=29346
2009-08-09 08:14:59 +00:00
Kovarththanan Rajaratnam e971354a54 Don't guard col_set_str (COL_PROTOCOL) with col_check
svn path=/trunk/; revision=29340
2009-08-09 06:26:46 +00:00
Stig Bjørlykke d3c75a218b From Kovarththanan Rajaratnam:
Move hf/ett into proto_register_amqp() and do some field cleanup
(duplicate name/blurb removal)

svn path=/trunk/; revision=28981
2009-07-07 11:58:23 +00:00
Guy Harris 6ef43f30a8 Get rid of a bunch of uses of size_t where int suffices.
svn path=/trunk/; revision=27786
2009-03-18 20:54:28 +00:00
Bill Meier 70786edd00 Revert the queueing --> queuing spelling change
svn path=/trunk/; revision=27057
2008-12-19 04:21:08 +00:00
Bill Meier c544c20956 Fix various typos and spelling errors (mostly in text strings)
svn path=/trunk/; revision=27050
2008-12-18 19:08:49 +00:00
Bill Meier 2ac68fb78a remove unnecessary prefs registration since no prefs; minor cleanup
svn path=/trunk/; revision=26075
2008-08-25 17:14:20 +00:00
Jörg Mayer 6935e50369 Get rid of a warning in gcc 4.3: An integer overflow will not cause a sign change
svn path=/trunk/; revision=25020
2008-04-14 19:30:35 +00:00
Anders Broman 840a048b7f Implement some of the minor possible speed improvment patches.
svn path=/trunk/; revision=23192
2007-10-15 20:11:25 +00:00
Ronnie Sahlberg 4fa079b941 From
Martin Sustrik 


here's a patch to AMQP dissector. The only change is that when there are
seceral AMQP frames in single TCP packet, all of them are referred in
the info column.



svn path=/trunk/; revision=21254
2007-03-28 22:16:43 +00:00
Stephen Fisher 424abc227b From Sebastien Tandel:
Remove svn:executable on packet-amqp.c


svn path=/trunk/; revision=21247
2007-03-28 16:21:48 +00:00
Ronnie Sahlberg d3283d23ea From
Martin Sustrik

additions to AMQP dissector and prettifications to the information column



svn path=/trunk/; revision=21196
2007-03-26 01:34:06 +00:00
Ronnie Sahlberg ab2e40bcb5 Add a small example on how to prettify the AMQP dissector
svn path=/trunk/; revision=21175
2007-03-25 08:49:47 +00:00
Ronnie Sahlberg 0e6e4b0795 From Martin Sustrik
New protocol: AMQP


svn path=/trunk/; revision=21174
2007-03-25 08:26:44 +00:00