Commit Graph

7787 Commits

Author SHA1 Message Date
Gerald Combs 00043fb64e More size_t.
svn path=/trunk/; revision=27943
2009-04-03 15:46:21 +00:00
Sake Blok a3601ba7d4 Make buildbot happy again...
svn path=/trunk/; revision=27940
2009-04-02 20:51:55 +00:00
Guy Harris f41351188a Get rid of an unused variable.
Clean up indentation.

svn path=/trunk/; revision=27939
2009-04-02 20:03:36 +00:00
Anders Broman 0f17f96acf From Garey Hassler:
CableLabs vendor-specific decoding for Bootp, DHCPv6.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3218

svn path=/trunk/; revision=27938
2009-04-02 19:41:09 +00:00
Anders Broman 83d1303053 From Naoyoshi Ueda:
Radius dissector enhancement to support WiMAX vendor specific attributes.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3176

svn path=/trunk/; revision=27937
2009-04-02 19:05:52 +00:00
Anders Broman a92cd3fddd From Chris Maynard:
Misc. NHRP bug fixes & additions and AFN udpates
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3379

svn path=/trunk/; revision=27933
2009-04-02 17:21:18 +00:00
Anders Broman 4086013afd Yin Sun:
tipc v1 improvement.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3381

svn path=/trunk/; revision=27932
2009-04-02 17:12:44 +00:00
Anders Broman daf059d5ed Remove #if 0
svn path=/trunk/; revision=27931
2009-04-02 17:04:04 +00:00
Gerald Combs c1e7e4b619 From Peter Hertting: Fix the maximum poll interval.
svn path=/trunk/; revision=27930
2009-04-02 03:55:37 +00:00
Gerald Combs 453cd58768 Fix a typo.
svn path=/trunk/; revision=27929
2009-04-02 03:51:42 +00:00
Gerald Combs 3a4a3643c2 The format argument of val_to_str() formats a guint32, not a char *. Fixes
bug 3383.

svn path=/trunk/; revision=27928
2009-04-02 03:44:00 +00:00
Anders Broman 87c4184e91 According to the section 2.4 of the spec.
http://www.3gpp2.org/Public_html/specs/X.S0004-540-E_v2.0_070723.pdf

mandatory parameters for the message Authentication Failure Report.

1. Electronic serial number
2. MSID(i.e MIN/IMSI)
3.Report Type
4.System Access Type
5.System Capabilities(Serving)

svn path=/trunk/; revision=27923
2009-04-01 16:21:00 +00:00
Bill Meier 2baf9bd747 From Abhik Sarkar: SMPP TLV tag value_strings.
"I have chosen _not_ to use the value_string array in the header field for the
 tag because the information appears in too many places - once in the sub-tree
 and again once in the field which displays the value. Displaying the tag name
 again in the tag field would make the same information appear three times in
 four lines."
 See Bug #3369 [https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3369]

From me: Use consistent indentation throughout packet-smpp.c

svn path=/trunk/; revision=27922
2009-04-01 13:22:07 +00:00
Bill Meier b45c3cb272 Change to prevent "off-the-end" array access if invalid payload-type/media-format;
Prevents crash as reported in bug 3373:
  https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3373)

svn path=/trunk/; revision=27917
2009-03-31 21:47:58 +00:00
Anders Broman 7afd67fd94 Update value strings.
svn path=/trunk/; revision=27916
2009-03-31 18:52:36 +00:00
Anders Broman 80f5487276 Fix a typo.
svn path=/trunk/; revision=27915
2009-03-31 18:51:59 +00:00
Guy Harris 6443db2e94 Make the forward declaration of dissect_snmp() match the definition.
svn path=/trunk/; revision=27914
2009-03-31 18:09:24 +00:00
Martin Mathieson 3681cb1be3 Fix gcc 3.4.6 warning about setjmp/longjmp.
svn path=/trunk/; revision=27913
2009-03-31 17:31:07 +00:00
Bill Meier d67b7d5347 If GLib < 2.10.0 use g_mem_chunk instead of g_slice.
svn path=/trunk/; revision=27912
2009-03-31 15:33:15 +00:00
Bill Meier 7172127412 #include reassemble.h not req'd
svn path=/trunk/; revision=27911
2009-03-31 12:08:44 +00:00
Bill Meier 5a3e7edbe3 #include reassemble.h not req'd; Also: move proto_register... & etc to be last in file.
svn path=/trunk/; revision=27910
2009-03-31 12:05:48 +00:00
Bill Meier 6d740b3d00 From: yami <yamisoe [AT] gmail.com>: Update comment in .c file; copy same to .h file
svn path=/trunk/; revision=27909
2009-03-31 11:59:59 +00:00
Guy Harris 2776974a35 Get rid of val_to_strlen() - strlen() on the results of val_to_str()
suffices (and 100 is an odd choice of failure), and it shouldn't return
a guint8 in any case.

Don't use tvb_length() to determine how big a packet is - you want the
real size, not the possibly-shortened-by-a-snapshot-length size.

Don't make things guint8 if they're not guaranteed to be one byte long.

Use an ep_strbuf in another case.

svn path=/trunk/; revision=27908
2009-03-31 07:10:17 +00:00
Anders Broman 19de9df296 From Vincent Helfre:
Fix unaligned bitfields.

svn path=/trunk/; revision=27907
2009-03-31 05:44:48 +00:00
Anders Broman 7e57d89548 Dissect security protected NAS message(un ciphered).
svn path=/trunk/; revision=27906
2009-03-30 22:38:56 +00:00
Bill Meier 891aa5a6aa Fix bug: ptr to an ep str kept for use while capture file open.
svn path=/trunk/; revision=27905
2009-03-30 21:59:31 +00:00
Jörg Mayer 8b6ae788b2 Andreas Schuler:
add framenumber, extended fixed part capabilities and higher
layer capabilities

Me;

- replace div by crc to fix a shadowed global variable
- the last argument to proto_tree_add_item is the endianess
  indicator, not the value
- replace // by /* */

svn path=/trunk/; revision=27904
2009-03-30 21:55:22 +00:00
Gerald Combs 7247fa0b45 More Win64 fixes.
svn path=/trunk/; revision=27903
2009-03-30 20:52:25 +00:00
Anders Broman 6065fbd874 Extention and bug fixes.
svn path=/trunk/; revision=27901
2009-03-30 20:03:04 +00:00
Gerald Combs 772e18dc89 Fixup whitespace.
svn path=/trunk/; revision=27900
2009-03-30 19:39:01 +00:00
Anders Broman bd49b6e54b More size_t casts(Unfinished)
svn path=/trunk/; revision=27898
2009-03-30 19:00:00 +00:00
Gerald Combs ef0e74e533 More size_t casts.
svn path=/trunk/; revision=27897
2009-03-30 18:40:33 +00:00
Gerald Combs c5f52b8fa0 In packet-enttec.c and packet-fw1.c, replace string pointer tracking with a
string buffer. In packet-ftp.c and packet-gift.c, cast some size_t's.

svn path=/trunk/; revision=27896
2009-03-30 17:53:41 +00:00
Gerald Combs 92ade75cd0 Replace another string pointer dance with a string buffer.
svn path=/trunk/; revision=27895
2009-03-30 17:24:50 +00:00
Anders Broman 184a60e0d6 Handle NAL-unit start code correctly.
svn path=/trunk/; revision=27894
2009-03-30 16:35:58 +00:00
Bill Meier 61a8dfa849 From Jens Steinhauser: IEEE C37.118 Synchrophasor dissector
See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2798
Committed with minor changes:
- Add the standard Wireshark copyright lines
  [Wireshark ... Copyright 1998 Gerald Combs]
- Move proto_register... and proto_reg_handoff... to
  the end of the file as per the usual Wireshark
  dissector file format.

svn path=/trunk/; revision=27893
2009-03-30 11:57:14 +00:00
Martin Mathieson 6cc0cf8456 Initialise a variable to prevent a warning (that looks invalid to me).
svn path=/trunk/; revision=27892
2009-03-30 09:34:15 +00:00
Gerald Combs 2c74073079 Add a couple of size_t casts to packet-dnp.c.
Make the length arguments of format_text() and format_text_wsp()
size_t's, since it's natural to use strlen() for that.

svn path=/trunk/; revision=27891
2009-03-30 03:40:12 +00:00
Bill Meier 808a4e2c3c Define certain fcns as static (if not used externally).
Also: whiule we're at it: 
 - fix hf[] blurbs as appropriate to use NULL;
 - fix some indentation

svn path=/trunk/; revision=27890
2009-03-29 22:16:26 +00:00
Anders Broman f77b5f8d77 Handle the case when FMTP parameters are "out-of-order".
-  - Use NULL instead of repeated text in blurb in hf[];

svn path=/trunk/; revision=27889
2009-03-29 21:59:28 +00:00
Anders Broman caf80bbb74 More size_t casts.
svn path=/trunk/; revision=27888
2009-03-29 21:20:15 +00:00
Anders Broman b666a7942e More size_t casts.
svn path=/trunk/; revision=27887
2009-03-29 18:26:06 +00:00
Anders Broman 564e51f8cc - Dissect Supplemental enhancement information (SEI).
- Use NULL instead of repeated text in blurb in hf[];

svn path=/trunk/; revision=27886
2009-03-29 16:08:17 +00:00
Bill Meier cba2558006 Fix code so changing port pref will work + other small changes:
- Use NULL instead of "" in blurb in hf[];
- Remove unnecessary #includes;
- Make various internal functions static;
- Use tabs consistently for indentation;
- Some reformatting of statements;

svn path=/trunk/; revision=27885
2009-03-29 15:34:26 +00:00
Anders Broman 8e7599022d More size_t casts.
svn path=/trunk/; revision=27882
2009-03-29 14:37:57 +00:00
Anders Broman f36c046eef Fix:
packet-ldss.c: In function 'dissect_ldss_transfer':
packet-ldss.c:469: warning: 'ldss_tree' may be used uninitialized in this function
packet-ldss.c:469: warning: 'line_tree' may be used uninitialized in this function

svn path=/trunk/; revision=27881
2009-03-29 14:16:37 +00:00
Anders Broman e0171e1a79 More size_t casts.
svn path=/trunk/; revision=27880
2009-03-29 13:47:15 +00:00
Anders Broman 8611ec5f5e More size_t casts.
svn path=/trunk/; revision=27879
2009-03-29 12:07:30 +00:00
Stephen Fisher 1ab88afea0 Squelch warning about variable may be used uninitialized in this function
svn path=/trunk/; revision=27878
2009-03-29 05:30:26 +00:00
Stephen Fisher a7d48ed8b6 Patch from enhancement bug #3265: LDSS (local download sharing service)
svn path=/trunk/; revision=27877
2009-03-29 04:58:27 +00:00