Commit Graph

31 Commits

Author SHA1 Message Date
Anders Broman f638e28b21 From Michael Lum:
pESN detection fix and additional dissection enhancements.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3254

svn path=/trunk/; revision=27587
2009-03-03 19:22:54 +00:00
Anders Broman 92fb6ca65f From Michael Lum:
Minor enhancement for for MEID/pESN
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3100

svn path=/trunk/; revision=27079
2008-12-22 12:05:56 +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
Anders Broman 4ab1deefc0 From Michael Lum:
RFC3558 header dissection (EVRC in RTP)

svn path=/trunk/; revision=26853
2008-11-26 20:59:44 +00:00
Stig Bjørlykke d0e33bc3c5 Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26646
2008-10-31 14:07:23 +00:00
Bill Meier 1a7111b603 Minor revision related to proto_reg_handoff ...
svn path=/trunk/; revision=26252
2008-09-23 00:55:28 +00:00
Bill Meier 8d9c5d9b2b Cleanup related to prefs & proto_reg_handoff
svn path=/trunk/; revision=26124
2008-09-02 21:40:46 +00:00
Bill Meier 67559b7dfe Add NULL termination element to value_string arrays
svn path=/trunk/; revision=25793
2008-07-22 18:27:13 +00:00
Guy Harris 8beb192d32 The integral type with which an enumerated type is equivalent is,
according to the ANSI C standard, implementation-defined; it could be
unsigned, in which case checking whether it's < 0 will cause a compiler
warning.

Casting a signed enum to unsigned will turn negative values into Really
Big Positive Values, so casting to unsigned and comparing against the
maximum value will catch values with the sign bit set regardless of
whether enums are signed or unsigned.

svn path=/trunk/; revision=24850
2008-04-08 17:48:04 +00:00
Anders Broman 65c48c392d From Michael Lum:
Most ANSI A information elements are not displayed.
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2388

svn path=/trunk/; revision=24847
2008-04-08 14:42:52 +00:00
Stig Bjørlykke ecdb4359d2 From Florent DROUIN:
I just add a test for the index, to check we are in the element table.

This fixes bug 2051.

svn path=/trunk/; revision=23688
2007-11-30 16:01:08 +00:00
Ronnie Sahlberg 170e4f4945 bug 1872
from chris maynard  fix some filter names for ansi_a


svn path=/trunk/; revision=23056
2007-10-02 21:26:22 +00:00
Ronnie Sahlberg d5d5159b6d From Sebastien Tandel
fixes for various compiler warnings

svn path=/trunk/; revision=21210
2007-03-26 11:06:26 +00:00
Anders Broman 69238439c4 Dissect cdma2000HandoffInvokeIOSData.
svn path=/trunk/; revision=20409
2007-01-12 17:50:20 +00:00
Jeff Morriss bd39b74d5e Clean up a bunch of unused parameter warnings and 2 uninitialized variable warnings
svn path=/trunk/; revision=19990
2006-11-26 14:27:13 +00:00
Anders Broman d74d57789d From Michael Lum
1)
A small change in the number of teleservices recognized

2)
Finally finished a lot of the changes for IOS 5 support.

The attached files must be used together.

Built in Windows XP Pro using Visual Studio C++ with the latest repository.

packet-ansi_map.c.gz

packet-ansi_a.gz
    This file contains both packet-ansi_a.c and packet-ansi_a.h changes.

libwireshark.def.gz

ansi_a_stat.c.gz

svn path=/trunk/; revision=19955
2006-11-22 06:39:24 +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
Gerald Combs 172556500d Remove MIN and MAX defines, which GLib provides.
svn path=/trunk/; revision=17551
2006-03-09 16:00:33 +00:00
Ronnie Sahlberg 056065d055 get rid of some strcpy()
svn path=/trunk/; revision=16210
2005-10-13 03:17:53 +00:00
Ronnie Sahlberg a51ba4011d get rid of a whole chunk of sprintfs
svn path=/trunk/; revision=15466
2005-08-20 12:28:16 +00:00
Ronnie Sahlberg ec3ab9ec3e rename ep_tvb_get_string() to tvb_get_ephemeral_string() asnd update the documentation in README.developer
svn path=/trunk/; revision=15270
2005-08-10 13:41:13 +00:00
Jörg Mayer b8d33c4add Fix >2600 warnings by doing char -> const char changes.
Additionally in dissectors/packet-ansi_map.c:
        Flag unused parameters as such and remove dummy
        param = param;
        statements.

svn path=/trunk/; revision=15114
2005-07-27 07:57:01 +00:00
Ronnie Sahlberg 835df3a1d2 convert some uses of tvb_get_string() to ep_tvb_get_string()
there was at least one obvious memleak in one of the uses of tvb_get_string()



svn path=/trunk/; revision=15027
2005-07-24 02:43:41 +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
Ulf Lamping ac5e6ff1c6 packet-ansi_a.c(460) : warning C4090: 'return' : different 'const' qualifiers
svn path=/trunk/; revision=14771
2005-06-26 10:55:34 +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
Guy Harris c8a0d29d22 Use "format_text()" on strings fetched from packets.
svn path=/trunk/; revision=13794
2005-03-17 19:44:45 +00:00
Gerald Combs 023d72fb44 Fix a couple of format string bugs discovered by Bryan Fulton.
svn path=/trunk/; revision=13793
2005-03-17 18:32:36 +00:00
Guy Harris 6472876ab3 Move the tap infrastructure to the epan directory.
svn path=/trunk/; revision=12128
2004-09-29 00:06:36 +00:00
Guy Harris bbe7f89742 Move prefs.c and prefs.h into the epan subdirectory.
svn path=/trunk/; revision=12115
2004-09-27 22:55:15 +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