Commit Graph

13946 Commits

Author SHA1 Message Date
Ulf Lamping a7de0371a4 fix buildbot reported problems (unix related), part 1
svn path=/trunk/; revision=14234
2005-04-29 20:05:39 +00:00
Gerald Combs d11d3d6f8d Use GStrings instead of character arrays, so that we don't overflow any
buffers.  Found during fuzz testing.

svn path=/trunk/; revision=14233
2005-04-29 16:39:20 +00:00
Gerald Combs 08404a61be When printing an error message, make sure we're using a valid tree. Fixes
bug 144.

svn path=/trunk/; revision=14232
2005-04-29 14:52:45 +00:00
Ulf Lamping a48744a84b add a new feature: list the files of a "File Set" (set of files generated by capturing "Multiple Files"/ringbuffer) and jump from one file of it to the next/previous one
svn path=/trunk/; revision=14231
2005-04-29 14:51:52 +00:00
Gerald Combs 614a46f36e Make sure we're passing the proper lengths to proto_tree_add_item(). Fixes
bug 142.

svn path=/trunk/; revision=14230
2005-04-29 14:40:04 +00:00
Gerald Combs c7dfef6321 Break out of another large-but-not-infinite loop. Fixes bug 143.
svn path=/trunk/; revision=14229
2005-04-29 14:25:07 +00:00
Ronnie Sahlberg f905153266 add the missing MODE field in mover_get_state that was introduced in version 4.
also change bytes_left_to_read to be a INT64 and not a UINT64.
It iss supposed to be an UINT64  but some implementations are buggy and it is easier to make sense of this field one for those buggy clients if it is printed as an INT64.
This change/violation will not affect any correct/valid NDMP implementation or how ethereal decodes its output  unless your entire backup is > 2**63 bytes in size.



svn path=/trunk/; revision=14228
2005-04-29 08:02:44 +00:00
Gerald Combs 1b361d5c8a Force the query interval and robustness variable to be 2. Fixes bug 141.
svn path=/trunk/; revision=14227
2005-04-29 03:35:38 +00:00
Gerald Combs e3a76369d1 Break out of a really large (but not infinite) loop.
svn path=/trunk/; revision=14226
2005-04-29 00:16:22 +00:00
Lars Roland 6a4b4fc1b9 From Martin Mathieson:
- added support for local connection options
- added missing "Response Acknowledgement (000)" response code
- got rid of "display_dissect_tree" preference and code
- increased version number in moduleinfo.h

svn path=/trunk/; revision=14225
2005-04-29 00:00:42 +00:00
Gerald Combs 601a4b61d7 Don't try to access past the end of an array. Fixes bug 140.
svn path=/trunk/; revision=14224
2005-04-28 22:02:05 +00:00
Gerald Combs a7082d41b0 Break out of an infinite loop. Fixes bug 138.
svn path=/trunk/; revision=14223
2005-04-28 19:42:56 +00:00
Gerald Combs 0be67943e6 Force IAX_IE_CALLNO to be the proper length.
svn path=/trunk/; revision=14222
2005-04-28 19:16:54 +00:00
Gerald Combs 38db8769c9 In dissect_pipe_lanman(), return FALSE if p_tvb is null, no matter what.
Fixes bug 132.

svn path=/trunk/; revision=14221
2005-04-28 18:34:02 +00:00
Gerald Combs 618b8887dc Use tvb_ensure_bytes_exist() in tvb_get_string() instead of throwing an
exception ourselves.  Fixes bug 130.

svn path=/trunk/; revision=14220
2005-04-28 18:07:40 +00:00
Michael Tüxen 537fa72b22 Fix buffer overflow which is the cause of BUG 131.
svn path=/trunk/; revision=14219
2005-04-28 14:53:41 +00:00
Michael Tüxen e107b8238b Add support for DUA dissection. Now all SIGTRAN protocols are supported...
svn path=/trunk/; revision=14218
2005-04-28 13:09:19 +00:00
Tomas Kukosa 46a168734a Usage of oid_to_str() in PER and BER helpers
svn path=/trunk/; revision=14217
2005-04-28 09:54:03 +00:00
Tomas Kukosa 3be38ac077 New oid_to_str() and oid_to_str_buf() functions
svn path=/trunk/; revision=14216
2005-04-28 09:51:55 +00:00
Ronnie Sahlberg 14cd9627b7 make dssetup an autogenerated dissector
and cancel my checkins from an hour ago, but they show the evolvement of the dissector at least. :-)



svn path=/trunk/; revision=14215
2005-04-28 09:50:03 +00:00
Ronnie Sahlberg a4950dec86 rename lsa-ds to the real name of the interface dssetup
svn path=/trunk/; revision=14214
2005-04-28 08:57:23 +00:00
Ronnie Sahlberg 552ad50d69 The name of this interface is DSSETUP not LSA-DS
Rename all references to the protocol name to DSSSETUP


svn path=/trunk/; revision=14213
2005-04-28 08:55:17 +00:00
Gerald Combs a80ebce3f2 Some dissectors apparently call proto_tree_add_*() with a null tvb.
This makes tvb_ensure_bytes_exist() throw a fit, so just throw an
exception instead.

svn path=/trunk/; revision=14212
2005-04-28 04:03:30 +00:00
Gerald Combs 338bf987f6 Don't try to g_strdup() a null value. Fixes bug 128.
svn path=/trunk/; revision=14211
2005-04-28 03:41:05 +00:00
Gerald Combs e0224c5286 Check an AVP length. Fixes bug 128.
svn path=/trunk/; revision=14210
2005-04-28 03:31:20 +00:00
Gerald Combs 7323cb267c Back out the previous change, and use tvb_ensure_bytes_exist() instead of
throwing an exception ourselves.

svn path=/trunk/; revision=14209
2005-04-28 03:30:07 +00:00
Ulf Lamping 073da09b29 fix #117
give a warning, if user never selected an interface before

svn path=/trunk/; revision=14208
2005-04-27 20:52:56 +00:00
Gerald Combs e5af03f331 Fix a buffer overflow. Fixes bug 96.
svn path=/trunk/; revision=14207
2005-04-27 20:25:37 +00:00
Ulf Lamping 22e13e1197 fix bugzilla #110 (http://bugs.ethereal.com/bugzilla/show_bug.cgi?id=110)
don't crash if dropping a file while running a capture or reading a file

svn path=/trunk/; revision=14206
2005-04-27 19:56:31 +00:00
Ulf Lamping 4852c618d8 add a state member to the capture_opts, and set it according to the capture engine
svn path=/trunk/; revision=14205
2005-04-27 19:43:02 +00:00
Gerald Combs b979f69c0c Break out of an infinite loop. Fixes bug 95.
svn path=/trunk/; revision=14204
2005-04-27 19:09:55 +00:00
Gerald Combs 5ec0554c24 In alloc_field_info, throw a ReportedBoundsError if we're passed an
invalid length.

svn path=/trunk/; revision=14203
2005-04-27 16:22:24 +00:00
Tomas Kukosa 130db4f23c Export of dissect_ber_null() and dissect_per_null()
svn path=/trunk/; revision=14202
2005-04-27 15:19:36 +00:00
Tomas Kukosa 94dffebd6c NULL type decoders for PER and BER
svn path=/trunk/; revision=14201
2005-04-27 14:17:14 +00:00
Ronnie Sahlberg 0389d222e2 With the speedup changes to epan/proto.c the tree will be faked to only contain those fields actually referenced by a filter.
Other nodes will never be created by the tree (sort of auto pruning of the tree).

While this greatly spped up the processing performance of ethereal, it makes it "dangerous" for apps that try to walk the tree directly.


rtp_analysis did not specify the fields "rtp.version" nor " rtp.ssrc" when dissecting the current packet  and as such these fields were no longer part of the tree.
This surprised rtp_analysis and a coredump resulted.


This change will add the field that we walkt the tree to find to the filter string so that they will be there.



svn path=/trunk/; revision=14200
2005-04-27 13:58:54 +00:00
Ronnie Sahlberg f229ab5733 fix for bug 107 from Greg Morris
svn path=/trunk/; revision=14199
2005-04-27 10:21:12 +00:00
Tomas Kukosa 3bb0b3a56b TFTP dissector registering
svn path=/trunk/; revision=14198
2005-04-27 06:50:04 +00:00
Gerald Combs f5e9a4101b Fix a buffer overflow. Fixes bug 100.
svn path=/trunk/; revision=14197
2005-04-27 04:09:15 +00:00
Lars Roland cac06c58a1 Reindent some parts of the sip dissector with tabs, as most parts of the dissector already use tabs. Remove also trailing white spaces.
svn path=/trunk/; revision=14196
2005-04-26 23:38:16 +00:00
Lars Roland 0c30cc130b Reindent the mgcp dissector with tabs and
remove trailing white spaces.

svn path=/trunk/; revision=14195
2005-04-26 23:14:35 +00:00
Gerald Combs 380dfa0fde Add a bunch of tvb_ensure_bytes_exist() calls. Fixes bug 106.
svn path=/trunk/; revision=14194
2005-04-26 22:19:38 +00:00
Gerald Combs 310c8a8434 Add a slew of tvb_ensure_bytes_exist() calls. This should probably be
converted to use the new-style ASN.1 code.  Fixes bug 102.

svn path=/trunk/; revision=14193
2005-04-26 22:06:04 +00:00
Gerald Combs e1a597eccf Add some tvb_ensure_bytes_exist() calls. Fixes bug 101.
svn path=/trunk/; revision=14192
2005-04-26 20:55:26 +00:00
Gerald Combs 38948db32b Add packet-bacapp.h to the distribution.
svn path=/trunk/; revision=14191
2005-04-26 14:08:30 +00:00
Ronnie Sahlberg 3a6778b8e7 fix for bug 91
make the heuristics for detecting connection-less dce/rpc a bit sharper to reduce the number of false positives



svn path=/trunk/; revision=14190
2005-04-26 09:03:30 +00:00
Ronnie Sahlberg d8dcc36d93 from anders b
diameter updates to add 3gpp vendor avp


svn path=/trunk/; revision=14189
2005-04-26 08:15:45 +00:00
Ronnie Sahlberg 0f66df8509 BACAPP updates
svn path=/trunk/; revision=14188
2005-04-26 08:03:22 +00:00
Guy Harris 5c5f1fd4e6 Make the offsets of the source address length and source address match
reality.

svn path=/trunk/; revision=14187
2005-04-25 18:04:28 +00:00
Gerald Combs 53865bb046 Don't try to access a null pointer. Found during fuzz testing.
svn path=/trunk/; revision=14186
2005-04-25 16:54:18 +00:00
Gerald Combs c993ffc6dc Add a tvb_ensure_bytes_exist(). Fixes a bug found during fuzz testing.
svn path=/trunk/; revision=14185
2005-04-25 16:23:00 +00:00