Commit Graph

15 Commits

Author SHA1 Message Date
Gerald Combs 1a4719ef8d Fix Coverity run 12, CID 104: Don't overflow a guint8, and don't read past
the end of an array.

Update the release notes.

svn path=/trunk/; revision=17506
2006-03-07 19:53:57 +00:00
Anders Broman a8a4c251f0 TP-PI (TP-Parameter-Indicator) is optional.
svn path=/trunk/; revision=15360
2005-08-15 19:35:09 +00:00
Ronnie Sahlberg efa1f43005 convert some tvb_fake_unicode() to tvb_get_ephemeral_faked_unicode()
svn path=/trunk/; revision=15272
2005-08-10 14:17:27 +00:00
Anders Broman 49284d02cb Fix "tvb_fake_unicode takes the lengt in number of guint16's not guint8's" fix up indentation.
svn path=/trunk/; revision=15199
2005-08-02 21:16:56 +00:00
Jörg Mayer 5602f5bb83 Make some funtions static. More char -> const char warning fixes
svn path=/trunk/; revision=15146
2005-07-30 01:01:02 +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
Anders Broman 0232c81b91 From Viorel Suman:
Enable a proper deconding of an alphanumeric 7-bit encoded SMS TP-Originating-Address.

svn path=/trunk/; revision=14349
2005-05-11 21:59:44 +00:00
Guy Harris 99594646d4 Correction for TP-Validity-Period extended format, from Victor Stratan:
Fix 1:
	Offset not incremented for relative type

	Fix 2:
	Semioctets not reversed for HHMMSS relative type

svn path=/trunk/; revision=13056
2005-01-15 23:45:37 +00:00
Olivier Biot 7661effba5 From Victor Stratan: GSM SMS fixes:
- Corrected incorrect Timezone output due to byte overflow.

 - Added descriptions for address string decoding.


svn path=/trunk/; revision=12806
2004-12-21 21:17:44 +00:00
Guy Harris 4fef292099 From Victor Stratan: correct offset calculation and add TP-PID decoding
in SMS-SUBMIT-REPORT decoding based on 3GPP TS 23.040 V6.5.0 9.2.3.11.

svn path=/trunk/; revision=12750
2004-12-14 08:20:32 +00:00
Olivier Biot 718c4f1ef2 From Victor Stratan:
GSM SMS fixes:

 - Made Timezone view human readable based on 3GPP TS 23.040 V6.5.0 (9.2.3.11).

 - TP-UDHI field - located within bit no 6 one more place was left over from
   previous patch by Viorel Suman made on 9 Dec 2004.


svn path=/trunk/; revision=12718
2004-12-11 23:47:12 +00:00
Guy Harris bebb2b7705 Get rid of C++/C99-style comments - not all C compilers accept them.
Fix some indentation.

svn path=/trunk/; revision=12710
2004-12-10 11:20:48 +00:00
Olivier Biot 7799a91851 From Viorel Suman.
Various GSM SMS fixes:

 - Wrong positions of the fields, located within the first octet
   of the GSM SMS TPDU.

 - One byte is skipped during RP-ERROR vs. RP-ACK detecting:
   Offset must be increased only when RP-ERROR is detected in
   order to avoid one byte skipping.

 - Improper dissect method is used to dissect SMS-DELIVER-REPORT.

svn path=/trunk/; revision=12703
2004-12-09 21:50:27 +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