Commit graph

37 commits

Author SHA1 Message Date
Bill Meier
3c1bc8f251 Fix some individual cases of 'if (unsigned) < 0'
svn path=/trunk/; revision=29320
2009-08-06 23:51:45 +00:00
Bill Meier
21d8e2d3e1 Prevent possible (benign ?) array references with an array index of -1.
svn path=/trunk/; revision=29312
2009-08-06 18:44:38 +00:00
Bill Meier
eba5297683 Remove inadvertantly committed comments re issue yet to be fixed ...
svn path=/trunk/; revision=29311
2009-08-06 16:13:31 +00:00
Bill Meier
7f7161f819 Register ett[] subtree array only once.
svn path=/trunk/; revision=29309
2009-08-06 16:06:11 +00:00
Jaap Keuter
c9e3f66d14 Optimize empty strings to NULL pointers.
svn path=/trunk/; revision=29298
2009-08-04 21:05:38 +00:00
Stig Bjørlykke
b228488bc0 From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
    for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
    FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero

svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
Bill Meier
ab291b9c00 FT_BOOLEAN fields with bitmask: Display is 'parent bitfield width' not BASE...
Also: Change FT_BOOLEAN with no bitmask from BASE_DEC to BASE_NONE.

svn path=/trunk/; revision=28312
2009-05-08 19:42:58 +00:00
Bill Meier
0274ef3673 Use NULL instead of repeated identical text if hf[] blurbs;
Use #if 0 ... #endif instead of /* ... */ to comment out code;
Reformat some long lines;
Use consistent indentation.


svn path=/trunk/; revision=28301
2009-05-08 15:03:11 +00:00
Bill Meier
3c11319ea4 Adjust some indentation
svn path=/trunk/; revision=27323
2009-01-28 21:22:30 +00:00
Anders Broman
b631b88d61 Implement TLV-E and LV-E type IE dissection (2 byte length value).
svn path=/trunk/; revision=27100
2008-12-23 20:49:15 +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
Bill Meier
a8f30cbca1 Fix some typos and spelling (mostly in text strings)
svn path=/trunk/; revision=27037
2008-12-17 17:23:37 +00:00
Anders Broman
05fa33881c From Pascal Quantin:
Improve 3GPP 44.018 RR dissection.

svn path=/trunk/; revision=26779
2008-11-15 11:36:49 +00:00
Anders Broman
d943c93a0b From Pascal Quantin:
Proper Fix for "'subtree' may be used uninitialized in this function" error (SVN revision 26730)

svn path=/trunk/; revision=26745
2008-11-10 20:21:04 +00:00
Anders Broman
3d7baf2c9f Try to pacify the buildbot.
svn path=/trunk/; revision=26732
2008-11-07 18:13:10 +00:00
Anders Broman
04f9b031ef From Pascal Quantin:
Add 3GPP 44.018 RR Short Protocol Discriminator dissection.

svn path=/trunk/; revision=26730
2008-11-07 17:37:22 +00:00
Guy Harris
c7d0c67e3d Mark the reduced frame number field as generated.
svn path=/trunk/; revision=26690
2008-11-04 20:20:33 +00:00
Anders Broman
07dadee5dd From Pascal Quantin:
The attached patch adds the following enhancements:
- remove duplicated code for Reduced Frame Number computation, and solve
guint64 issue in the same time (see bug 3028 for details)
- BA Range IE decoding
- BA List Pref IE decoding
- UTRAN Frequency List IE decoding
- Cell Selection Indicator after Release of all TCH and SDCCH IE decoding
- UTRAN Classmark Change message decoding (with a call to RRC dissector to
decode the INTER RAT HANDOVER INFO message)
- add Inter System To UTRAN Handover Command message decoding

As usual it compiles fine on Windows but I could not check on Linux.

svn path=/trunk/; revision=26688
2008-11-04 20:03:19 +00:00
Guy Harris
fa67e2cf41 Show the "FN mod 62432" field; this is how you show a 64-bit integer.
Clean up indentation.

svn path=/trunk/; revision=26684
2008-11-03 21:44:22 +00:00
Anders Broman
c0dd6c4ca9 From Pascal Quantin:
Various enhancements to 3GPP 44.018 Radio Resource dissection.

svn path=/trunk/; revision=26682
2008-11-03 21:16:18 +00:00
Anders Broman
1cab8c9743 From Pascal Quantin:
please find attach the patch to fix the bug for the "'xdd_indic0' may be used uninitialized in this function" warning. Initializinf it to 0 will not be sufficient as it will fail to decode properly the TDD Cell Information Field. 
Builds on Windows hopfully woun't break the build bot.

svn path=/trunk/; revision=26668
2008-11-01 21:48:02 +00:00
Jaap Keuter
e652ccc7ee Fix the broken build.
svn path=/trunk/; revision=26666
2008-11-01 10:17:29 +00:00
Anders Broman
ba21bba78e Add Measurement result IE dissection, fix channel list.
svn path=/trunk/; revision=26665
2008-11-01 09:23:31 +00:00
Stig Bjørlykke
bd08ae7ee6 Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26647
2008-10-31 15:11:57 +00:00
Anders Broman
34fdd680ef Fix:
packet-gsm_bsslap.c:374: warning: unused parameter 'len'
packet-gsm_a_rr.c:3035: warning: 'xdd_indic0' may be used uninitialized in this function

svn path=/trunk/; revision=26630
2008-10-30 20:09:14 +00:00
Anders Broman
e3d3b73a96 From Pascal Quantin:
Add 3GPP 44.018 SI5bis, SI5ter, SI6 and SI13 decoding
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3014

svn path=/trunk/; revision=26623
2008-10-30 19:30:08 +00:00
Anders Broman
222869d394 From Pascal Quantin:
Buggy 3GPP 44.018 Cell Channel Description / Frequency List IEs decoding.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3007

svn path=/trunk/; revision=26604
2008-10-28 19:19:37 +00:00
Stig Bjørlykke
357e5e016e Fixed some true_false_string definitions.
svn path=/trunk/; revision=26591
2008-10-27 21:36:02 +00:00
Anders Broman
497197b525 From Pascal Quantin:
Add 3GPP 44.018 SI3 and SI4 Rest Octets decoding.

svn path=/trunk/; revision=26590
2008-10-27 21:08:54 +00:00
Anders Broman
b32c91b5a0 Try to make the build bot hapy.
svn path=/trunk/; revision=26562
2008-10-26 21:45:37 +00:00
Anders Broman
f47b645008 From Pascal Quantin:
Add 3GPP 44.018 SI1, SI2bis, SI2ter and SI2quater full decoding

svn path=/trunk/; revision=26559
2008-10-26 19:46:46 +00:00
Anders Broman
a4c3055bbb Update bssap le and BSS MAP.
svn path=/trunk/; revision=26514
2008-10-22 16:32:24 +00:00
Jaap Keuter
56feadb6b7 From Pascal Quantin:
The attached patch fix several bugs in the decoding function to display the
Cell Channel Description (44.018 chapter 10.5.2.1b) and the Frequency List
(44.018 chapter 10.5.2.13) information elements content.
Without this patch the ARFCNs displayed are completely wrong.

svn path=/trunk/; revision=26354
2008-10-05 09:30:24 +00:00
Anders Broman
ebc8f1f8bf From Niel Percy:
Much as I hate white space changes, I got fed up of the huge variation of styles within these files, and tried to get to a much smaller range of variation. Also a few comment tidies, and use of _U_ for unused args rather than "arg = arg" lines.

svn path=/trunk/; revision=26140
2008-09-05 05:49:39 +00:00
Bill Meier
b52d95d591 #include <emem.h> not req'd
svn path=/trunk/; revision=26091
2008-08-26 01:28:50 +00:00
Anders Broman
2226bccd44 From Neil Piercy:
1 new split file (GMM & SM in one file) and diff patches for the others. The RR, RP and BSSMAP patches are really a tidy-up: now they are split it becomes clear what was redundant code.

svn path=/trunk/; revision=26064
2008-08-24 17:42:30 +00:00
Anders Broman
bafcc127f8 From Neil Piercy:
RR has been split from DTAP, with common stuff going to the common files (plus a few minor knock-on consequences).
Fix the broken tap:
I had not realised that the register_tap call in the dissector registration actually _created_ the tap entry (not the register_tap_listener), and not just associated the tap_id returned with the tap registered by the listener. The use of separate statics by the split lead to 3 taps called "gsm_a", but only the first of which was ever found in the tap_queue_packet. Added (yet another) global for now to cope.

Also attached is a patch to tap.c which simply returns the same tap_id if the register_tap is called twice with the same name - I can't see any downside to this, can you? Anyway it seemed to work with deliberately keeping multiple calls.

svn path=/trunk/; revision=26039
2008-08-19 08:05:04 +00:00