Commit Graph

635 Commits

Author SHA1 Message Date
Gerald Combs 072a1bbfa6 ep_tvb_get_string() -> tvb_get_ephemeral_string().
svn path=/trunk/; revision=15277
2005-08-10 15:58:26 +00:00
Gerald Combs 42137a0331 Make sure we initialize our iap_conv struct _before_ we go digging
into a tvbuff.  This keeps us from leaving junk data behind if we
throw an exception.

svn path=/trunk/; revision=15267
2005-08-09 14:38:11 +00:00
Guy Harris badd56fbfd The "proto" argument to "conversation_get_proto_data()" and
"conversation_add_proto_data()" is supposed to be a protocol ID, as
returned by "proto_register_protocol()".  In addition, there are two
different types of protocol data being attached to a conversation; use
different protocol IDs for them, so we don't misinterpret an
"iap_conversation_t" as a "lmp_conversation_t" or vice versa.

svn path=/trunk/; revision=15265
2005-08-09 00:03:45 +00:00
Ulf Lamping 0dc9fb3d4a various code cleanup:
-use g_snprintf instead of sprintf and snprintf
-use g_strdup_printf where appropriate
-remove #include "snprintf.h" (as only g_snprintf should be used)
-replace some more alloc/realloc/calloc/free with their glib pendants

svn path=/trunk/; revision=15264
2005-08-08 18:50:39 +00:00
Guy Harris 46d485405e Make a variable whose value might be trashed by setjmp/longjmp
"volatile" to avoid that.

svn path=/trunk/; revision=15240
2005-08-06 10:29:20 +00:00
Ulf Lamping dc7beaa1cd fix a comment typo
svn path=/trunk/; revision=15233
2005-08-06 00:06:14 +00:00
Guy Harris b945c5bd2a Squelch a warning about "state" being used uninitialized.
svn path=/trunk/; revision=15230
2005-08-05 23:17:15 +00:00
Jörg Mayer 4e1f4b18ab More char -> const char warning fixes.
Removed (very few) casts that only change the warning message
  but don't remove it (with gcc-4).

svn path=/trunk/; revision=15227
2005-08-05 20:59:08 +00:00
Anders Broman 6f022ad796 From Thomas Steffen:
Fix a copy-paste error in the prefs. code

svn path=/trunk/; revision=15225
2005-08-05 19:32:26 +00:00
Guy Harris 3d1dfa4f67 Put in comments explaining why we're removing some generated files with
"make distclean", even though they come with the distribution, and
make the one in plugins/xml/Makefile.nmake match the one in some other
files.

svn path=/trunk/; revision=15214
2005-08-04 22:22:53 +00:00
Gerald Combs c214405e41 Clean up after ourselves so that we pass "distcheck" again.
svn path=/trunk/; revision=15194
2005-08-02 15:25:41 +00:00
Jörg Mayer a0f94c125f Last set of trivial fixes for "no previous declaration" warnings.
svn path=/trunk/; revision=15191
2005-08-02 08:30:33 +00:00
Jörg Mayer 4f693dfae2 Some warning fixes for "no previous declaration"
Remove svn:executable
Add svn:eol-style native
Add svn:keywords Id


svn path=/trunk/; revision=15179
2005-08-02 05:39:45 +00:00
Gerald Combs 6bcaec9a12 Make sure "lemon" exists before we try to use it. This can happen if we
run "make dist" before running "make".

svn path=/trunk/; revision=15167
2005-08-01 21:09:34 +00:00
Luis Ontanon 440cf5767f fix another leak of tap data
svn path=/trunk/; revision=15113
2005-07-27 01:32:31 +00:00
Luis Ontanon 1ca8874eda rename OUT to OUTSIDE and TEXT to CDATA
svn path=/trunk/; revision=15070
2005-07-25 22:02:04 +00:00
Ulf Lamping c64b5cc166 fix a typo: lenght -> length
svn path=/trunk/; revision=15058
2005-07-25 18:03:38 +00:00
Ulf Lamping 156e034ef9 include pinfo_stats_tree.c in the build process, so MSVC compiles again
don't use extern before a function body, that don't make sense

svn path=/trunk/; revision=15048
2005-07-24 21:23:10 +00:00
Gerald Combs 7743ecf3c9 Break out of another infinite loop. Fixes bug 293.
svn path=/trunk/; revision=15047
2005-07-24 21:02:40 +00:00
Guy Harris a58c119084 Register the port range preferences as such, rather than doing our own
range implementation.

Make string preferences "const", to squelch compiler warnings, and make
other variables and arguments "const" to match.

Port numbers are unsigned; display them as such.

svn path=/trunk/; revision=15037
2005-07-24 11:14:13 +00:00
Guy Harris e4f089af58 Add "pinfo_stats_tree.h" to declare "register_pinfo_stat_trees()", and
include it in "pinfo_stats_tree.c" (which defines it) and
"stats_tree_plugin.c" (which refers to it).

Make all the other routines defined in "pinfo_stats_tree.c" static, as
they're not used outside "pinfo_stats_tree.c".

Get rid of declaration of unused "register_http_stat_trees()".

svn path=/trunk/; revision=15035
2005-07-24 10:32:22 +00:00
Luis Ontanon ec941c4a8c http_stats_tree is moving to a new home (packet-http.c)
svn path=/trunk/; revision=15021
2005-07-24 01:39:04 +00:00
Jörg Mayer 30a8557868 More 'char*' -> 'const char*' changes to fix warnings.
svn path=/trunk/; revision=15015
2005-07-23 11:41:25 +00:00
Jörg Mayer cb4ac62893 'char*' -> 'const char*' to fix warnings
svn path=/trunk/; revision=15014
2005-07-23 08:18:44 +00:00
Jörg Mayer b05a2365f8 moduleinfo.h was included twice.
svn path=/trunk/; revision=14916
2005-07-14 08:03:59 +00:00
Jörg Mayer 5b442f2279 After doing "make maintainer-clean", "svn status --no-ignore | grep ^I"
returned quite a list of files. Add them to MAINTAINERCLEANFILES.

Whitespace changes (replace multiple spaces by TABs, in a few cases this
needed to be done at the beginning of Makefile lines.


svn path=/trunk/; revision=14891
2005-07-10 08:04:27 +00:00
Anders Broman 24c91af80f Add application/vnd.wv.csp.xml
svn path=/trunk/; revision=14853
2005-07-05 17:09:28 +00:00
Anders Broman 349d377a75 From Karl Knoebl
Accept SP as separator and * provide info to COL_INFO and some "prettification"
 Cleaned up some comments as well.

svn path=/trunk/; revision=14824
2005-06-30 19:17:46 +00:00
Anders Broman 8f962c973f Regenerated Tango with the latest idl2eth and the tango.idl
svn path=/trunk/; revision=14806
2005-06-28 19:14:14 +00:00
Guy Harris ab797734dd Get rid of the private "my_match_strval()" routine in many dissectors;
add a "match_strval_idx()" routine that does the same thing, and have
"match_strval()" call it.

Make those routines, and "val_to_str()", return a "const" pointer. 
Update dissectors as necessary to squelch compiler warnings produced by
that.

Use "val_to_str()" rather than using "match_strval()" and then, if the
result is null, substituting a specific string.  Clean up some other
"match_strval()"/"val_to_str()" usages.

Add a null pointer check in the NDPS dissector's "attribute_value()"
routine, as it's not clear that "global_attribute_name" won't be null at
that point.

Make some global variables in the AFS4INT dissector local.

Make some routines not used outside the module they're in static.

Make some tables "static const".

Clean up white space.

Fix Gerald's address in some files.

svn path=/trunk/; revision=14786
2005-06-26 19:56:52 +00:00
Guy Harris af85a24619 In generated GIOP dissectors, don't set the Protocol or Info columns, or
create the top-level protocol tree item, until the dissector accepts the
packet as being for it.

"strcmp()" isn't a Boolean; don't treat it as such.

Get rid of trailing white space.

svn path=/trunk/; revision=14750
2005-06-25 18:20:13 +00:00
Guy Harris 447e5cb434 Re-generate the CosNaming, CosEventComm, and Parlay dissectors from the
IDL (and re-insert an earlier bug fix into the CosNaming and
CosEventComm dissectors), and add a new check added to ethereal_gen.py
to the Tango dissector.

svn path=/trunk/; revision=14745
2005-06-24 12:43:32 +00:00
Guy Harris b67f63560e More constification.
svn path=/trunk/; revision=14740
2005-06-24 02:51:01 +00:00
Guy Harris 4af84b3d87 Fix the line endings.
Get rid of include of "snprintf.h", and _U_-ify arguments, as per
changes made to idl2eth.

svn path=/trunk/; revision=14719
2005-06-21 09:17:53 +00:00
Guy Harris dce6d8af64 Get rid of include of "snprintf.h", and _U_-ify arguments, as per
changes made to idl2eth.

svn path=/trunk/; revision=14718
2005-06-21 09:15:26 +00:00
Gerald Combs 3a6c9ab134 Fix a format string vulneratility in the AFP dissector identified
by iDEFENSE.  Add constant format strings to proto_item_append_text()
in a bunch of other dissectors.  Copy a comment from proto.c to proto.h.

svn path=/trunk/; revision=14713
2005-06-20 19:35:58 +00:00
Anders Broman bdde78acb2 Correct a typo
svn path=/trunk/; revision=14631
2005-06-14 21:57:17 +00:00
Luis Ontanon 589035eac0 Add the missing parlay.la to the makefile
svn path=/trunk/; revision=14619
2005-06-13 08:47:24 +00:00
Ulf Lamping 007e7ef69a don't call g_assert_not_reached() for an unknown port type
svn path=/trunk/; revision=14609
2005-06-10 18:30:33 +00:00
Ulf Lamping 3ad08cb0ee raise plugin version from 0.1.0 to 0.1.1 as some bugs were found using fuzz-test.sh since the last Ethereal release
svn path=/trunk/; revision=14603
2005-06-09 20:08:39 +00:00
Anders Broman a447975030 Add dissection of parlay
www.parlay.org

svn path=/trunk/; revision=14597
2005-06-09 17:25:40 +00:00
Anders Broman a811b8f0cc From Paolo Frigo :
A new plugin based on GIOP to recognize Tango packets. TANGO is
an object oriented distributed control system based on CORBA. Tango is
being actively developed as a collaborative effort among the ESRF, Soleil, Elettra and ALBA synchrotron facilities. TANGO is an open source
project hosted by SourceForge.

svn path=/trunk/; revision=14513
2005-06-01 06:46:41 +00:00
Lars Roland 7523f78185 Add a note to config.nmake that it is required to set ENABLE_LIBETHEREAL to get plugin support in Ethereal.
Change Makefile.nmake of the stats_tree plugin to the current scheme.

svn path=/trunk/; revision=14512
2005-05-31 21:34:14 +00:00
Lars Roland 692cd3d6db As suggested by Jaap Keuter:
Add generated files copied by "install-deps" to the
"clean" target

svn path=/trunk/; revision=14509
2005-05-31 20:42:15 +00:00
Ulf Lamping b087ed4b6e add another tvb_ensure_bytes_exist() call
replace dissect_ndr_uuid_t by dissect_dcerpc_uuid_t, as this is the correct function to use and will prevent a problem with access to non existing private_data in dissect_ndr_uuid_t

svn path=/trunk/; revision=14506
2005-05-31 18:27:20 +00:00
Gerald Combs 81a381effd Throw an exception if we're handed a null pointer when we weren't
expecting one.  Fixes bug 200.

svn path=/trunk/; revision=14488
2005-05-30 16:03:24 +00:00
Gerald Combs b133b98f15 Break out of an infinite loop. Fixes bugs 213 & 214.
svn path=/trunk/; revision=14487
2005-05-30 15:51:03 +00:00
Ronnie Sahlberg aaaeb78d58 from Alejandro Vaquero
fox to packet-mgcp.c to make the viop analysis working again.


svn path=/trunk/; revision=14468
2005-05-28 23:05:41 +00:00
Anders Broman 93eee03ae8 From Martin Mathieson:
This 2-liner:
- adds the correct item for localconnectionoptions param
- recognises the message verb "MESG"

svn path=/trunk/; revision=14444
2005-05-26 20:13:42 +00:00
Gerald Combs f6d48e45c8 Make sure we don't loop when we dissect concatenated PDUs. Make some int
values larger in order to keep them from overflowing.

svn path=/trunk/; revision=14422
2005-05-23 21:18:14 +00:00