Commit Graph

25 Commits

Author SHA1 Message Date
Jaap Keuter 647446dadf Fix for bug 1541. Adjust offset for long longs by 8, not by 4.
svn path=/trunk/; revision=21496
2007-04-22 10:29:47 +00:00
Sebastien Tandel 68ad2f4b9b fix MacOSX gcc-3.3 warnings about unused tfs/value_string variables
most have been tagged unused (few have been deleted if dissector has not been
modified since a long time)

move packet-ssl-utils.c to DISSECTOR_SRC


svn path=/trunk/; revision=21431
2007-04-14 14:01:53 +00:00
Jeff Morriss 109388d263 Clean up some more warnings: unused variables, unitialized variables, wrong format (%ld instead of %d) in packet-sccp.c
svn path=/trunk/; revision=21167
2007-03-24 13:46:41 +00:00
Jaap Keuter 79b23d4856 Fix for bug 1272.
Check length remaining before aligning.

svn path=/trunk/; revision=20198
2006-12-22 14:48:51 +00:00
Ronnie Sahlberg 2d1bb39121 change the signature for the get_pdu_len() function pointer passed to tcp_dissect_pdus() to also include a packet_info pointer.
there are many reasons why some protocols actually need to be able to access the pinfo structure while determining the pdu size



svn path=/trunk/; revision=19751
2006-10-31 09:29:07 +00:00
Ronnie Sahlberg feab79e328 change a whole bunch of ethereal into wireshark
svn path=/trunk/; revision=18196
2006-05-21 04:49:01 +00:00
Anders Broman a70b907c4a Handle 64bits signed/unsigned integers and get rid of some extra LF:s.
svn path=/trunk/; revision=17911
2006-04-19 18:59:29 +00:00
Jaap Keuter 96d739b790 From W. Borgert:
Currently, the filename IOR.txt is hardcoded into ethereal.
The patch allows the user to change it. Thanks for applying!

svn path=/trunk/; revision=17894
2006-04-18 10:04:18 +00:00
Anders Broman 1c26abfe29 From W. Borgert:
the attached patch enables the explicit GIOP dissection. This fixes erronous decoding, if methods of two different CORBA interfaces have the same name, which happens frequently.

The generated GIOP plugins (CosEvent, CosNaming, Parlay, Tango) need to be re-generated to make use of the fix.

svn path=/trunk/; revision=17880
2006-04-16 23:16:46 +00:00
Anders Broman 43e97ddcc8 Comment out the unused code.
svn path=/trunk/; revision=17735
2006-03-27 16:28:43 +00:00
Jörg Mayer eff40f65db Trivial warning fixes
svn path=/trunk/; revision=16561
2005-11-22 12:51:14 +00:00
Ulf Lamping 714c04d3a8 replace match_strval with val_to_str in several places, where the output was used by string output, but not expecting NULL
svn path=/trunk/; revision=15949
2005-09-22 01:09:01 +00:00
Anders Broman 60eb171f7a Make Objekt Key a HEX string.
svn path=/trunk/; revision=15677
2005-09-04 08:53:04 +00:00
Guy Harris f63f048929 A PDU dissector called by tcp_dissect_pdus() can't return anything.
A PDU length routine called by tcp_dissect_pdus() should use the offset
passed to it as the offset of the beginning of the PDU.

In the heuristic GIOP dissector, if we're running over TCP, and accept
the packet, call "dissect_giop_tcp()" so that we handle multiple PDUs
within the segment or PDUs split across segments.

svn path=/trunk/; revision=15667
2005-09-02 08:19:15 +00:00
Anders Broman b9c5fe14d6 It looks like there might not always be a body, check if there is.
svn path=/trunk/; revision=15663
2005-09-01 19:44:26 +00:00
Anders Broman d18a7233f9 Re-assemble GIOP over TCP.
svn path=/trunk/; revision=15661
2005-09-01 19:31:48 +00:00
Ronnie Sahlberg 185d5c2f04 giop allocates only and never releases the memory from the gmemchunk so replace it with equivalen g_malloc() calls and get rid of the gmemchunks
svn path=/trunk/; revision=15350
2005-08-14 01:48:43 +00:00
Ronnie Sahlberg 4a3a614fd9 more gmemchunk -> se_alloc() improvements
svn path=/trunk/; revision=15321
2005-08-12 23:00:01 +00:00
Gerald Combs f7af2880e0 Don't try to allocate more than ITEM_LABEL_LENGTH bytes for something we're
adding to the tree.  Fixes bugs 349 and 352.

svn path=/trunk/; revision=15315
2005-08-12 16:32:28 +00:00
Anders Broman c61a9fddad From W. Borgert:
three trivial corrections for the GIOP dissector:

- allow filtering GIOP exceptions, e.g. "giop.replystatus = 2"
  or "giop.exceptionid matches MyError", older patch at
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=314835

- show IDLs sequence<octet> more compact, not one line per
  octet, older patch at
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=314836

- decode _is_a requests and replies, older patch at
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=314871

With a change to not create a malformed packet in the "stub data".

svn path=/trunk/; revision=15295
2005-08-11 20:14:41 +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
Guy Harris 828641b2ad Mark stub data as such if no dissector claims it.
svn path=/trunk/; revision=14842
2005-07-04 03:45:29 +00:00
Gerald Combs 02f67fd19f Add some length checking.
svn path=/trunk/; revision=14113
2005-04-17 18:28:50 +00:00
Ronnie Sahlberg 776ca2b654 From LEGO: make the request id and operation filterable
svn path=/trunk/; revision=12599
2004-11-24 21:26:52 +00:00
Gilbert Ramirez 669db206cb Move dissectors to epan/dissectors directory.
Also move ncp222.py, x11-fields, process-x11-fields.pl,
make-reg-dotc, and make-reg-dotc.py.

Adjust #include lines in files that include packet-*.h
files.

svn path=/trunk/; revision=11410
2004-07-18 18:06:47 +00:00