Commit graph

17011 commits

Author SHA1 Message Date
Jeff Morriss
c2ced4a2ab Don't try to open <home>/.wireshark on Windows: Wireshark hasn't written to
that directory since 2001 and reading from that directory was only left in for
backwards compatibility with versions prior to r4702.  I think it's now safe
to remove that backwards compatibility.

This eliminates the last argument of get_persconffile_path().

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8437

svn path=/trunk/; revision=48797
2013-04-09 02:48:03 +00:00
Jeff Morriss
cfd03173b4 Fix the fuzz failure reported in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8539 :
Bail out of the item length we get (which we use to increment the offset) is 0.
Otherwise the offset does not advance and we loop forever.

While we're in there: get the item length just once (there's no need to call
tvb_get_guint8() a half dozen times when one will do).

svn path=/trunk/; revision=48796
2013-04-09 02:05:39 +00:00
Pascal Quantin
435fe919d8 Fix bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8569 :
Do not display a warning when MCC/MNC is set to 0xffffff and identify country / network code as 'Unset'

svn path=/trunk/; revision=48793
2013-04-08 20:25:09 +00:00
Anders Broman
5f6b7f95bc Fix dissection of IMSI detach from non-EPS service type.
svn path=/trunk/; revision=48789
2013-04-08 16:44:15 +00:00
Alexis La Goutte
c078009625 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48786
2013-04-07 18:57:06 +00:00
Alexis La Goutte
93873346ce Make fix-encodings-args Happy
svn path=/trunk/; revision=48785
2013-04-07 18:56:56 +00:00
Alexis La Goutte
ee448bc87f Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48784
2013-04-07 18:56:46 +00:00
Alexis La Goutte
639315a3c3 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48783
2013-04-07 18:56:35 +00:00
Alexis La Goutte
1ad2bb6aa9 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48782
2013-04-07 18:56:23 +00:00
Alexis La Goutte
3f57c74724 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48781
2013-04-07 18:55:54 +00:00
Alexis La Goutte
76d7baf32d From Masatake YAMATO via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8565
New dissector for PULSE protocol for Linux Virtual Server redundancy

very small dissector for PULSE protocol for Linux Virtual Server redundancy.
About pulse, see http://sourceware.org/piranha.

From me :
Add Modelines info
Replace tab by space

svn path=/trunk/; revision=48775
2013-04-07 17:32:03 +00:00
Alexis La Goutte
a0f8e6fd1c From Masatake YAMATO via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8565
New dissector for PULSE protocol for Linux Virtual Server redundancy

very small dissector for PULSE protocol for Linux Virtual Server redundancy.
About pulse, see http://sourceware.org/piranha.

From me :
Add Modelines info
Replace tab by space

svn path=/trunk/; revision=48773
2013-04-07 17:09:00 +00:00
Alexis La Goutte
0e3bb34fba From Loránd Jakab via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8555 More features for the Locator/ID Separation Protocol (LISP) dissector
This patch adds support in the LISP dissector for the following:

* dissect Map-Referral packet subtype
* dissect individual fields in mapping records, which are now filterable
* some code cleanup

The NAT traversal draft added another field to go together with the xTR-ID, the site-ID field.
Add support for this field as well.

svn path=/trunk/; revision=48772
2013-04-07 17:08:46 +00:00
Alexis La Goutte
b7844a673b From report of Mark Phillips via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8561 802.11 QoS decode broken from 1.9.2
Wrong encoding type (ENC_BIG_ENDIAN => ENC_LITTLE_ENDIAN)
Also fix a wrong increment offset about TXOP

svn path=/trunk/; revision=48769
2013-04-07 15:57:20 +00:00
Alexis La Goutte
8576eb409f Move #define OUI include in ieee80211 dissector to epan/oui.h Add Modelines to epan/oui.h
svn path=/trunk/; revision=48768
2013-04-07 15:57:11 +00:00
Alexis La Goutte
5bd548e9b5 From report TheDarkEye via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8554 Part of Ping Reply Message in ICMPv6 Reply Message is marked as "Malformed Packet"
(Wrong offset variable...)

#BACKPORT(1.8)

svn path=/trunk/; revision=48767
2013-04-07 15:57:01 +00:00
Alexis La Goutte
a09722c937 Enhance 802.11 Vendor Specific IE * Remove hf_ieee80211_tag_interpretation...
svn path=/trunk/; revision=48766
2013-04-07 15:56:52 +00:00
Alexis La Goutte
f84fde9439 Enhance 802.11(n) Vendor Specific IE HT * Remove hf_ieee80211_tag_interpretation...
svn path=/trunk/; revision=48765
2013-04-07 15:56:37 +00:00
Michael Mann
94ed99dc06 Made IP address fields filterable as well as a few others.
Also added a preference to determine where to put the PIM payload.  Per http://www.wireshark.org/lists/wireshark-dev/201304/msg00019.html, I made the default off of the main tree instead of a subtree of PIM.

svn path=/trunk/; revision=48760
2013-04-06 23:25:16 +00:00
Jaap Keuter
4d802ca4b9 Show the PIMv2 register flags in the correct tree.
svn path=/trunk/; revision=48757
2013-04-06 11:53:58 +00:00
Guy Harris
98938830d5 Fix some bugs that showed up as format warnings.
Use "offset +" in the calls to fill in the Info column, as presumably
the values being put into that column are the same as the values being
put into the protocol tree, and those have offsets based on the offset
variable.

svn path=/trunk/; revision=48755
2013-04-05 23:46:20 +00:00
Anders Broman
63d3ef878f Add dissection from BCMCS spec.
svn path=/trunk/; revision=48754
2013-04-05 22:16:02 +00:00
Pascal Quantin
00b3acf9c5 Highlight the correct byte for Timezone
svn path=/trunk/; revision=48751
2013-04-05 20:50:24 +00:00
Jeff Morriss
0e0c0f39ae Fix set-but-not-used warning turned error: use the newly created subtree in a few cases.
svn path=/trunk/; revision=48749
2013-04-05 14:07:34 +00:00
Michael Mann
3592313c82 Use uint instead of int
svn path=/trunk/; revision=48748
2013-04-05 13:50:49 +00:00
Michael Mann
4b4297a7ff Replace proto_tree_add_text with itemized filters
svn path=/trunk/; revision=48747
2013-04-05 13:41:32 +00:00
Anders Broman
352b96d735 From Cal Turney:
Patch 45480 introduced the following check: 

"tvb_ensure_bytes_exist(tvb, offset, neo ? neo : *bcp - ((unsigned)offset + 1));:     

When the last entry in the directory listing is processed, 'neo' the next entry offset is zero so bcp is checked. The 'bcp' variable is set to the remaining reported bytes in the tvb.  Subtracting the current offset +1 from *bcp usually produces a negative result and causes the error.

Removed "- ((unsigned)offset + 1)" and added "CHECK_BYTE_COUNT_SUBR(4);"

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8549

svn path=/trunk/; revision=48744
2013-04-05 05:20:41 +00:00
Anders Broman
198149f148 From Tim Ringenbach:
makes the TDMoE dissector call the LAPD bitstream dissector on the D-Channel. As a result, LAPD calls Q.931, and you can actually see call setup and tear down, instead of just a hex dump.

It adds a preference for which channel the D-Channel is.

It patches the LAPD code to fix a few bugs, not pass the checksum to Q.931 (who isn't expecting it), to register the lapd-bitstream dissector, and to mark packets with aborts or resets.

also storing more data on the lapd_byte_state_t.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8374

svn path=/trunk/; revision=48743
2013-04-05 05:09:31 +00:00
Chris Maynard
95bad136a0 Fix Coverity CID 280402: Logically dead code.
svn path=/trunk/; revision=48740
2013-04-04 20:40:32 +00:00
Chris Maynard
3d7ea4a6b5 Fix Coverity CID 280404: Logically dead code.
svn path=/trunk/; revision=48739
2013-04-04 20:28:42 +00:00
Martin Kaiser
2a3dee91ff use mpeg_pmt_stream_tree for the descriptor loop
(this fixes a bug from my last commit)

svn path=/trunk/; revision=48737
2013-04-04 18:32:26 +00:00
Jaap Keuter
f4a29a59f6 Remove a shadow variable.
svn path=/trunk/; revision=48735
2013-04-04 17:15:10 +00:00
Anders Broman
b1fc95c5cf - Dissect Packet filters and QoS list(partly).
- Update value_strings.

svn path=/trunk/; revision=48734
2013-04-04 16:23:55 +00:00
Chris Maynard
38a02b35ad Fix the 2nd occurrence of Coverity CID 280417: Logically dead code. This, plus r48657, should resolve the CID.
svn path=/trunk/; revision=48733
2013-04-04 15:57:29 +00:00
Chris Maynard
e08b7c3a38 Fix encoding arg for proto_tree_add_item() and friends.
svn path=/trunk/; revision=48732
2013-04-04 15:33:14 +00:00
Pascal Quantin
3322a952f6 Try to fix compilation on Linux
svn path=/trunk/; revision=48731
2013-04-04 15:01:56 +00:00
Michael Mann
f39b47420b Fix checkAPI.pl complaints
svn path=/trunk/; revision=48730
2013-04-04 15:00:27 +00:00
Michael Mann
719dca4797 Enhancements to Ethernet/IP DLR dissector, bug 8560 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8560)
From Joakim Wiberg

svn path=/trunk/; revision=48729
2013-04-04 14:34:26 +00:00
Michael Mann
4e7e06ca3a RTPS Cleanup, Part 3 (final)
Merged packet-rtps.c and packet-rtps2.c into a single dissector.  It appears packet-rtps2.[ch] "API" needs to be externally available, otherwise I would have rolled (the newly merged) packet-rtps.h into packet-rtps.c as well.

Converted many of the remaining proto_tree_add_text to proto_tree_add_item/expert_info and cleaned up the manual string manipulation so checkAPIs.pl is happy.

Added a "cooked" capture file to the SampleCaptures page on the wiki for future fuzztesting/regression.

svn path=/trunk/; revision=48727
2013-04-04 12:22:04 +00:00
Pascal Quantin
595a893406 From Lukasz Wachowski via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8559 :
Fix dissection of RAN-INFORMATION-APPLICATION-ERROR RIM PDU Indications

svn path=/trunk/; revision=48726
2013-04-04 09:14:11 +00:00
Pascal Quantin
e157cf5bf4 From Michal Labedzki via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8558 :
Fix incompatible field type for field name "btsdp.service_uuid"

svn path=/trunk/; revision=48725
2013-04-04 08:45:30 +00:00
Jeff Morriss
afb4cff52f Get rid of a shadowed variable and remove a set-but-not-used variable. Reindent a little.
svn path=/trunk/; revision=48723
2013-04-03 17:50:13 +00:00
Jeff Morriss
4508745e3b Get rid of non-ASCII characters.
svn path=/trunk/; revision=48722
2013-04-03 17:46:39 +00:00
Anders Broman
a54f786099 Sort LocalCode value string.
svn path=/trunk/; revision=48721
2013-04-03 16:53:53 +00:00
Anders Broman
7ddf39a340 Dissect more of 3GPP Object.
svn path=/trunk/; revision=48719
2013-04-03 16:50:35 +00:00
Anders Broman
c534f5e0db - Extend and correct value strings.
- Fix tree handling for QoS.
- Add references.

svn path=/trunk/; revision=48718
2013-04-03 16:49:55 +00:00
Pascal Quantin
a9833c921f Use extended value strings
svn path=/trunk/; revision=48714
2013-04-02 21:56:40 +00:00
Pascal Quantin
f28a077f97 Update E.164 dissection to ITU Operational Bulletin No. 991
svn path=/trunk/; revision=48711
2013-04-02 21:16:32 +00:00
Chris Maynard
ee5c5e9361 Both tvb_length_remaining and tvb_reported_length_remaining can return -1.
#BACKPORT(1.6,1.8 ... manually as other occurrences are in those trunks)

svn path=/trunk/; revision=48710
2013-04-02 21:13:02 +00:00
Martin Kaiser
33314c8106 use proto_mpeg_descriptor_loop_dissect() for the EIT
svn path=/trunk/; revision=48706
2013-04-02 19:04:25 +00:00
Martin Kaiser
9bdb946964 use proto_mpeg_descriptor_loop_dissect() in the BAT
svn path=/trunk/; revision=48705
2013-04-02 19:03:05 +00:00
Martin Kaiser
c851bd97f1 use proto_mpeg_descriptor_loop_dissect() for the PMT
svn path=/trunk/; revision=48704
2013-04-02 19:01:14 +00:00
Martin Kaiser
99c490d375 use proto_mpeg_descriptor_loop_dissect() for the TOT
svn path=/trunk/; revision=48703
2013-04-02 19:00:09 +00:00
Jeff Morriss
ba0b025dd3 Include padding length in the AVP's length.
svn path=/trunk/; revision=48702
2013-04-02 18:15:42 +00:00
Anders Broman
a9045908df Dissect more 3GPP2 extensions.
svn path=/trunk/; revision=48700
2013-04-02 16:58:18 +00:00
Evan Huus
0a26433321 From Sebastiano Di Paola via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8461
Enhancements for the Honeypot Feeds dissector.

From me: misc. cleanup, modelines, etc.

svn path=/trunk/; revision=48698
2013-04-02 15:55:35 +00:00
Pascal Quantin
e832253278 From Vineeth via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8450 :
Do not try to systematically fetch a third digit for Country Code: its length can be from 1 to 3 digits.

svn path=/trunk/; revision=48697
2013-04-02 13:09:15 +00:00
Pascal Quantin
36ad3475d9 Remove non ASCII characters
svn path=/trunk/; revision=48695
2013-04-02 08:34:09 +00:00
Anders Broman
3d2ca39863 Dissect more of 3GPP2_OBJECT.
svn path=/trunk/; revision=48694
2013-04-02 05:54:47 +00:00
Jaap Keuter
a62cc81d4b Now only if I can get the case right :)
svn path=/trunk/; revision=48686
2013-04-01 15:33:42 +00:00
Jaap Keuter
97136126bc Typo's. That is all.
svn path=/trunk/; revision=48685
2013-04-01 15:29:49 +00:00
Jaap Keuter
dfc87f20df Fix for bug 8548:
Allow the IRC command and response dissection functions to be called with
subsets of the original (full) message line. Therefore we need to calculate
with real lengths and offsets, not mixed with lengths of the subset itself.

svn path=/trunk/; revision=48684
2013-04-01 14:09:44 +00:00
Anders Broman
2328de7bf8 Unused parameter.
svn path=/trunk/; revision=48681
2013-03-31 22:27:58 +00:00
Anders Broman
1f74d7a1b2 Initial decoding of 3GPP2_OBJECT.
svn path=/trunk/; revision=48679
2013-03-31 22:08:00 +00:00
Martin Kaiser
5ae86d3b2f coverity 281315 logically dead code
svn path=/trunk/; revision=48676
2013-03-31 18:10:45 +00:00
Gerald Combs
84134c9e9c [Automatic manuf, services and enterprise-numbers update for 2013-03-31]
svn path=/trunk/; revision=48671
2013-03-31 14:03:28 +00:00
Martin Kaiser
421cd9eaac remove empty else-branches
svn path=/trunk/; revision=48670
2013-03-31 12:16:41 +00:00
Martin Kaiser
4f55532d59 TABs -> spaces
add editor modelines

svn path=/trunk/; revision=48669
2013-03-31 12:12:03 +00:00
Jaap Keuter
d2efac96b3 From Hauke Mehrtens:
Wireshark misses some new TLS and DTLS cipher suite names which are assigned by IANA.

svn path=/trunk/; revision=48664
2013-03-30 22:52:13 +00:00
Evan Huus
42ec0d8f0d Hopefully fix a false-positive warning in the Mac buildbot.
It complains that service_info may be used uninitialized, but my manual analysis
agrees with GCC 4.7 that it can't, so just defaulting it to NULL will be fine.

svn path=/trunk/; revision=48663
2013-03-30 22:00:43 +00:00
Evan Huus
ff9c205f94 From Michal Labedzki via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8509
Add basic support for Bluetooth GNSS profile. It uses NMEA-0183, but that is not
free, so all we can do is add filtering and displaying for ASCII content.

Also add colors for DUN, GNSS to show them in contrast to RFCOMM.

svn path=/trunk/; revision=48662
2013-03-30 21:54:42 +00:00
Evan Huus
6976653023 From Michal Labedzki via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8509
Unify bluetooth direction handling (sent vs rcvd).

svn path=/trunk/; revision=48661
2013-03-30 21:47:27 +00:00
Evan Huus
6d17f1153a From Michal Labedzki via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8509
Round 3 of Bluetooth SDP updates. Update the list of company IDs and fix
service recognition.

svn path=/trunk/; revision=48660
2013-03-30 21:43:18 +00:00
Martin Kaiser
77c9d43ce4 coverity 993742: potential division by zero
svn path=/trunk/; revision=48659
2013-03-30 19:16:51 +00:00
Martin Kaiser
94ea9af46c fix indentation in one place
svn path=/trunk/; revision=48658
2013-03-30 19:15:29 +00:00
Martin Kaiser
3467c98afc coverity 280417: logically dead code
svn path=/trunk/; revision=48657
2013-03-30 18:57:44 +00:00
Jaap Keuter
4e09bed012 From Tyson Key:
The attached patch adds support for dissection of SAMConfiguration request packets, 
and updates the opcode table to identify their corresponding (null/empty) responses.

svn path=/trunk/; revision=48656
2013-03-30 17:09:26 +00:00
Evan Huus
02dff20783 From Michal Labedzki via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8509
Round 2 of Bluetooth SDP updates:
- replace a lot of proto_tree_add_text with named fields
- dissect more of the protocol
- misc fixes

svn path=/trunk/; revision=48655
2013-03-30 15:53:04 +00:00
Martin Kaiser
9ca8ee6c06 dissect CI+ Protection Descriptor
svn path=/trunk/; revision=48651
2013-03-30 10:59:30 +00:00
Martin Kaiser
b3bad40c60 use proto_mpeg_descriptor_loop_dissect() in the SDT descriptor loop
this takes private descriptors into account

svn path=/trunk/; revision=48650
2013-03-30 10:41:37 +00:00
Evan Huus
e964ab4164 Bump two guint16 to guint32 to prevent overflow when reassembling a large
number of fragments, and add an extra bounds check.

Fixes
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8540
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8541

svn path=/trunk/; revision=48644
2013-03-29 22:20:04 +00:00
Evan Huus
016f8e8d8c Add some missing #includes to hopefully fix check-abi buildbot.
svn path=/trunk/; revision=48641
2013-03-29 17:43:14 +00:00
Evan Huus
ea6d7d8a34 From Michal Labedzki via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8509
First round of fixes for Bluetooth SDP.

From me:
- rename one call of match_strval to try_val_to_str instead
- remove a few hf entries that really belong with the second patch (they
  weren't used in this one)

svn path=/trunk/; revision=48640
2013-03-29 17:25:23 +00:00
Pascal Quantin
5c46fcea6a From Dario Lombardo via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8506 :
Fix incompatible display filters using the same name

svn path=/trunk/; revision=48638
2013-03-29 13:22:53 +00:00
Michael Tüxen
7b7680f3ff Add support for new version of the ID which has been adopted as a WG item.
The now version will be supported by Firefox soon.

svn path=/trunk/; revision=48637
2013-03-29 13:01:52 +00:00
Evan Huus
03b48f94c2 Fix two instances of col_set_str being used with ephemeral memory returned
from val_to_str. Use col_add_str instead.

Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8537

svn path=/trunk/; revision=48636
2013-03-29 02:46:06 +00:00
Evan Huus
a0d107beec Remove decode_enumerated_bitfield and decode_enumerated_bitfield_shifted.
Effectively inline the only remain call (and replace a static buffer with ep
memory). Much of the NFS dissector needs to be converted to use named fields
at which point this code can go away, but that's a much bigger job.

Also, add modelines to packet-nfs.c and mark some internal value_string
functions as WS_DLL_LOCAL.

svn path=/trunk/; revision=48635
2013-03-29 02:34:23 +00:00
Evan Huus
37600a157b Rename value string (and similar) functions to use a consistent pattern. This
was done using textual search+replace, not anything syntax-aware, so presumably
it got most comments as well (except where there were typos).

Use a consistent coding style, and make proper use of the WS_DLL_* defines.

Group the functions appropriately in the header.

I ended up getting rid of most of the explanatory comments since many of them
duplicated what was in the value_string.c file (and were out of sync with the
recent updates I made to those in r48633). Presumably most of the comments
should be in the .h file not the .c file, but there's enough churn ahead that
it's not worth fixing yet.

Part of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8467

svn path=/trunk/; revision=48634
2013-03-29 00:26:23 +00:00
Chris Maynard
10260116f8 Fix incorrectly duplicated display filter for hf_openwire_throwable_linenumber.
#BACKPORT(1.8)

svn path=/trunk/; revision=48628
2013-03-28 18:16:52 +00:00
Chris Maynard
5e7d4af0d0 The uniqueness bit occurs in 2 different places, so go ahead and use both hf_nhrp_flag_U1 and hf_nhrp_flag_U2, but change the common display filter from "nhrp.flag.u1" to simply "nhrp.flag.u".
#BACKPORT(1.6, 1.8)???

svn path=/trunk/; revision=48626
2013-03-28 18:13:12 +00:00
Anders Broman
8e1b0ac304 Register a dissector table for Normal Vendor/Organization Specific Extension(NVSE) and use it for 3GPP2.
svn path=/trunk/; revision=48623
2013-03-28 16:55:06 +00:00
Chris Maynard
fc78e677a8 Fix Coverity CID's 280305-280306: Negative loop bound. (These are yet more annoying instances of not properly dealing with tvb_reported_length_remaining() possibly returning -1.)
#BACKPORT(1.6,1.8)

svn path=/trunk/; revision=48622
2013-03-28 16:02:41 +00:00
Chris Maynard
be892e31c0 Fix the remaining instances of Coverity CID's 741992 and 986498, which should have been committed with r47073 and r47830, respectively. (I find Coverity doesn't always make it so obvious that there's more than 1 instance for a given CID.)
svn path=/trunk/; revision=48621
2013-03-28 15:41:25 +00:00
Chris Maynard
bbf2beaa53 Fix Coverity CID's 281433 and 281434: Unintended sign extension. (18 instances)
Fix Coverity CID 702381: Missing break in switch.

Add an "XXX" note regarding the framing_rtp assignment, since something appears to be missing.

#BACKPORT(1.8)

svn path=/trunk/; revision=48620
2013-03-28 15:28:12 +00:00
Chris Maynard
64f0e71d07 first_flag should be static.
#BACKPORT(1.6,1.8)

svn path=/trunk/; revision=48619
2013-03-28 15:07:32 +00:00
Evan Huus
045152353c From Michal Labedzki via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8536
Fix unrecognised CID session payload in bluetooth if there are multiple sessions
with the same DCID.

svn path=/trunk/; revision=48618
2013-03-28 15:05:46 +00:00
Evan Huus
63987d2894 From Dario Lombardo via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8506
Proper authorship and attribution information for
VITA 49 Radio Transport dissector.

svn path=/trunk/; revision=48617
2013-03-28 15:01:35 +00:00
Chris Maynard
476831d9de Fix the incorrectly duplicated display filter for hf_kdsp_source_name.
#BACKPORT(1.8)

svn path=/trunk/; revision=48616
2013-03-28 14:56:58 +00:00
Chris Maynard
c9004d102e Fix the incorrectly duplicated display filter for hf_gearman_data_content.
svn path=/trunk/; revision=48614
2013-03-28 14:49:41 +00:00
Chris Maynard
9c6325a069 Properly dissect lat and long according to 3GPP TS 23.032. Fix incorrect display filters for hf_gsm_a_geo_loc_deg_of_lat and hf_gsm_a_geo_loc_deg_of_long.
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8532
#BACKPORT(1.6,1.8)

svn path=/trunk/; revision=48613
2013-03-28 14:23:07 +00:00
Pascal Quantin
750b7659bb Add dissection of Terminal Profile byte 32
svn path=/trunk/; revision=48611
2013-03-28 14:04:23 +00:00
Anders Broman
dafdc19d9e -Wmissing-prototypes
svn path=/trunk/; revision=48609
2013-03-28 07:34:13 +00:00
Evan Huus
aee73d6d9e From Michal Labedzki via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8530
Enable "Decode As" for Bluetooth over USB.

svn path=/trunk/; revision=48605
2013-03-28 03:06:30 +00:00
Ronnie Sahlberg
37de47688f ISCSI: When printing the task management function, strip of the high bit which is always 1 before resoving the index into a name
svn path=/trunk/; revision=48604
2013-03-28 00:06:19 +00:00
Chris Maynard
15dbffefc8 Fix the incorrectly duplicated display filter for hf_ixveriwave_vw_info_retryCount.
#BACKPORT(1.8)

svn path=/trunk/; revision=48602
2013-03-27 22:04:46 +00:00
Chris Maynard
186d0c2006 Fix another incorrectly duplicated display filter, this time for hf_gsm_map_etsi_pdp_type_number.
#BACKPORT(1.6,1.8)

svn path=/trunk/; revision=48601
2013-03-27 21:41:56 +00:00
Alexis La Goutte
269c4fd8c2 From Johannes Berg via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8534 802.11: doesn't parse extended channel switch announcement frames correctly
There are more fixed fields in extended channel switch announcement frames.

svn path=/trunk/; revision=48599
2013-03-27 21:07:45 +00:00
Chris Maynard
8d02cc0d00 Regenerate the dissector.
svn path=/trunk/; revision=48598
2013-03-27 20:48:45 +00:00
Chris Maynard
da30b9eb92 Fix the incorrectly duplicated display filter for hf_gsm_map_dlci.
#BACKPORT(1.6, 1.8)

svn path=/trunk/; revision=48597
2013-03-27 20:44:47 +00:00
Chris Maynard
f44b2c8088 Fix the incorrectly duplicated display filters for hf_tp_bip_tcp_local and hf_tp_bip_udp_local.
svn path=/trunk/; revision=48596
2013-03-27 20:26:06 +00:00
Chris Maynard
96e835cf27 Fix the incorrectly duplicated display filter for hf_om2k_cbi.
#BACKPORT(1.8)

svn path=/trunk/; revision=48595
2013-03-27 20:21:19 +00:00
Alexis La Goutte
59669d270c From G.Gerrits via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8501 HomeplugAV dissector: Decoding HPAV-1.1 Tone Map Tx/Rx Characteristics Req/Conf (0xA070/0xA071/0xA090/0xA091)
Dissecting HPAV-1.1 Tone Map Characteristics Req/Conf (0xA070/0xA071) was not correct.
Also found that MMType 0xA070/0xA071 is used for the Tx ToneMaps and the MMType 0xA090/0xA091 for the Rx ToneMaps. Added types and dissector for the Rx MMType. Although the Rx-Conf-Structure is almost identical to the Tx is did duplicate the dissector code to avoid mixups.
Added some additional Infos to the carrier dissector output (Carrier#, #Modulated-Bits, Average#Modulated-Bits/Carrier).

Also extended the homeplug_av_tone_map_vals with 0x08 for 12bit 4096-QAM (the AR74xx should support this kind of modulation) and changed the mask to 0x0f accordingly

svn path=/trunk/; revision=48592
2013-03-27 18:16:22 +00:00
Chris Maynard
8aa0a23246 tvb_reported_length_remaining() can return -1, so be sure to properly handle it if it does.
#BACKPORT(1.6, 1.8)

svn path=/trunk/; revision=48578
2013-03-27 03:13:56 +00:00
Chris Maynard
05308f904d Fix Coverity CID 281471: Logically dead code. (addr_type can only be 1 or 2 due to the return statement in the default case)
svn path=/trunk/; revision=48577
2013-03-27 02:46:45 +00:00
Martin Kaiser
6c4b5b5929 add program number to the cc item tree
svn path=/trunk/; revision=48569
2013-03-26 20:39:58 +00:00
Chris Maynard
67ffb10e64 Add checksum_bad, set to FALSE to the tree when the checksum is correct. Use PROTO_ITEM_SET_HIDDEN instead of PROTO_ITEM_SET_GENERATED so ICMP and ICMPv6 are consistent.
See: http://ask.wireshark.org/questions/19844/icmp-display-filter-checksum_bad-ignored

#BACKPORT(1.6, 1.8)

svn path=/trunk/; revision=48563
2013-03-26 18:08:05 +00:00
Anders Broman
a6fbd905a5 Make the oid memeber a const.
svn path=/trunk/; revision=48558
2013-03-26 05:20:55 +00:00
Guy Harris
606e1ed681 Fix two errors in ieee80211_status_code - one out-of-order entry and one
(presumed) typo (61 would be a duplicate, and was between 70 and 72, so
I assume it was supposed to be 71).

svn path=/trunk/; revision=48556
2013-03-26 01:11:06 +00:00
Guy Harris
021e41ea66 Fix RFC number.
svn path=/trunk/; revision=48553
2013-03-25 22:04:51 +00:00
Evan Huus
0834a38bad From Dario Lombardo, Alexander Chemeris and Ivan Klyuchnikovhis via
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8506
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8507

Dissectors for the VRT (VITA 49 Radio Transport) and UHD protocols.

From me: modelines and misc trivial cleanups.


svn path=/trunk/; revision=48550
2013-03-25 17:06:11 +00:00
Evan Huus
7097d6465b From Audric Schiltknecht via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8520
Fix typo in DVB-S2 dissector: s/lable/label/.

svn path=/trunk/; revision=48547
2013-03-25 12:40:37 +00:00
Pascal Quantin
88c0e8e873 Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8517 :
Do not tap an unknown Opration Code

svn path=/trunk/; revision=48539
2013-03-24 21:53:53 +00:00
Pascal Quantin
bda771b86b Do not initialize ett_tree and msg_fcn_p when match_strval_idx_ext does not find a match
svn path=/trunk/; revision=48538
2013-03-24 21:52:19 +00:00
Guy Harris
f3e5fa224c Put items into the protocol tree as we extract them, so that the header
fields that were captured show up even if the packet was cut short by a
snapshot length.  Advance the offset variable as we do so.

Be a little clearer in some comments.

svn path=/trunk/; revision=48537
2013-03-24 18:51:27 +00:00
Guy Harris
5947200d55 Don't cast away constness.
svn path=/trunk/; revision=48536
2013-03-24 18:28:40 +00:00
Guy Harris
7113707672 Replace implicit conversion with explicit cast.
svn path=/trunk/; revision=48532
2013-03-24 18:14:58 +00:00
Evan Huus
cd502e4dcd From Tyson Key via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8514
Device->Host detection of ISO 7816 commands in PN532 packets.

From me: clean up indentation a bit in that section of the code.

svn path=/trunk/; revision=48530
2013-03-24 17:22:08 +00:00
Pascal Quantin
92dce1c3f0 Do not initialize ett_tree and dtap_msg_fcn when match_strval_idx does not find a match
svn path=/trunk/; revision=48520
2013-03-24 10:09:16 +00:00
Guy Harris
fc5b86f6d4 Correctly label checksums not checked due to the packet in question
being incorporated inside an ICMP error packet.

svn path=/trunk/; revision=48518
2013-03-24 00:39:44 +00:00
Jaap Keuter
f925e9a6a2 Extend dissection of TLVs.
svn path=/trunk/; revision=48512
2013-03-23 17:16:02 +00:00
Alexis La Goutte
4a9ad55295 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48511
2013-03-23 13:09:35 +00:00
Alexis La Goutte
b96aaabca4 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48510
2013-03-23 13:09:27 +00:00
Alexis La Goutte
4f179e4bb2 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48509
2013-03-23 13:09:17 +00:00
Alexis La Goutte
1420f4276d Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48508
2013-03-23 13:09:09 +00:00
Alexis La Goutte
202b6e7435 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48507
2013-03-23 13:08:56 +00:00
Alexis La Goutte
4633fb157a Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48506
2013-03-23 13:08:48 +00:00
Alexis La Goutte
22620ca12e Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48505
2013-03-23 13:08:39 +00:00
Alexis La Goutte
41c65b4eed Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48504
2013-03-23 13:08:30 +00:00
Alexis La Goutte
03370667f5 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48503
2013-03-23 13:08:21 +00:00
Alexis La Goutte
4cb56bae95 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48502
2013-03-23 13:08:12 +00:00
Alexis La Goutte
cc13aa780a Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48501
2013-03-23 13:08:03 +00:00
Alexis La Goutte
6c863f1b0a Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48500
2013-03-23 13:07:53 +00:00
Alexis La Goutte
b9b8a72200 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48499
2013-03-23 13:07:45 +00:00
Alexis La Goutte
6d5591f9f4 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48498
2013-03-23 13:07:36 +00:00
Alexis La Goutte
3dc9623939 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48497
2013-03-23 13:07:27 +00:00
Evan Huus
b8ae49755d From Prafulla Harpanhalli via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8513
Add support for encapsulation 136, Juniper service PIC cookie.

svn path=/trunk/; revision=48494
2013-03-23 02:42:12 +00:00
Guy Harris
a2414d8909 Don't wire into the reassembly code the notion that reassemblies should
be done on flows from one address to another; reassembly for protocols
running atop TCP should be done on flows from one TCP endpoint to
another.

We do this by:

	adding "reassembly table" as a data structure;

	associating hash tables for both in-progress reassemblies and
	completed reassemblies with that data structure (currently, not
	all reassemblies use the latter; they might keep completed
	reassemblies in the first table);

	having functions to create and destroy keys in that table;

	offering standard routines for doing address-based and
	address-and-port-based flow processing, so that dissectors not
	needing their own specialized flow processing can just use them.

This fixes some mis-reassemblies of NIS YPSERV YPALL responses (where
the second YPALL response is processed as if it were a continuation of
a previous response between different endpoints, even though said
response is already reassembled), and also allows the DCE RPC-specific
stuff to be moved out of epan/reassembly.c into the DCE RPC dissector.

svn path=/trunk/; revision=48491
2013-03-22 23:59:54 +00:00
Guy Harris
3295912210 Try to handle lines with NULs in them. They aren't valid lines, but at
least one fuzzed capture contains them, and using ep_strndup() to copy
the line means that the actual amount of memory allocated for the copy
will be less than the length of the line, and code that parses the line
assuming that there are value_len+1 bytes in the buffer (including the
terminating NUL), such as the current parsing code, will break.

We should really have code in Wireshark to handle counted strings, and
have those be what we extract from packets.  (And we should handle
non-UTF-8/non-UTF-16 encodings, and octet sequences that aren't valid
strings for their encoding, and handle display of invalid strings and
non-printable characters, and....).

Use g_ascii_ versions of various isXXX() and to{upper,lower}(), so we
don't get surprised by the behavior of the user's locale.

svn path=/trunk/; revision=48490
2013-03-22 23:18:30 +00:00
Jeff Morriss
5c39978e35 And it happens again...
In Yet Another Protocol, implementation A neglected to set the padding bytes
to 0 and implementation B barfed on said padding (interestingly this
protocol's spec does not include the IETF-normal "receiver MUST ignore the
padding" blurb).

So:

Add the AVP to the dissection tree and add an expert info for when it's not
zero.

Also re-order a few of the hfs and remove a couple unneeded temporary
variables.

svn path=/trunk/; revision=48488
2013-03-22 18:13:31 +00:00
Evan Huus
90a70fdf6c From David Arnold via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8490
Dissector for NASDAQ's OUCH 4.x protocol.

From me:
- fix svn Id tag
- g_snprintf includes the null-terminator in its len count, so the buffer
  only has to be ITEM_LABEL_LENGTH, not (ITEM_LABEL_LENGTH + 1).

svn path=/trunk/; revision=48479
2013-03-22 17:27:17 +00:00
Anders Broman
2f450cf7c9 Add some of the global codes as asn2wrs handle them now.
svn path=/trunk/; revision=48478
2013-03-22 17:19:46 +00:00
Evan Huus
cbba4d518e Fix typo s/jounral/journal/ as pointed out in
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8504

svn path=/trunk/; revision=48477
2013-03-22 12:34:50 +00:00
Evan Huus
2bddba9374 From Tyson Key via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8514
Add support for ISO 7816 commands payloads (from host -> device, only) in PN532
InDataExchange request packets

svn path=/trunk/; revision=48474
2013-03-22 01:24:26 +00:00
Evan Huus
80cd2ec768 Remove some sanity checks that I was able to prove wrong and/or redundant by
manual flow analysis. Fixes part of
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8504

General note: this dissector does *weird* things with sanity checks and
manually throwing exceptions. It needs a general cleanup, but that
is outside the scope of the current bug (and my available time).

svn path=/trunk/; revision=48473
2013-03-22 00:43:12 +00:00
Evan Huus
db122cefe4 Remove 55(!) thoroughly unnecessary tvb_bytes_exist calls from RTP-MIDI
dissector. Discovered while poking around in
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8504

svn path=/trunk/; revision=48472
2013-03-22 00:27:29 +00:00
Evan Huus
fc6fde93b4 From Soichi Sakane via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8070
Update CoAP dissector to the latest spec from the IETF, and make several more
fields filterable.

svn path=/trunk/; revision=48471
2013-03-22 00:12:44 +00:00
Sake Blok
a4fe30275f Properly set the ISN's when the SYN and SYN/ACK are received out-of-order.
svn path=/trunk/; revision=48466
2013-03-21 22:25:42 +00:00
Pascal Quantin
8fa2e54773 Fix compilation for Linux
svn path=/trunk/; revision=48464
2013-03-21 21:12:26 +00:00
Pascal Quantin
7b3191e1b1 Upgrade LTE RRC dissector to v11.3.0
svn path=/trunk/; revision=48463
2013-03-21 20:51:19 +00:00
Bill Meier
a316436f1a Use consistent indentation;
Also: replace a few "4 space tabs" by spaces.

svn path=/trunk/; revision=48462
2013-03-21 19:49:49 +00:00
Pascal Quantin
722b981c9f From Niels de Vos via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7310 :
glusterfs: improve endianness handling and displaying of dict contents

svn path=/trunk/; revision=48461
2013-03-21 19:49:21 +00:00
Anders Broman
f8a93562e0 [-Wmissing-prototypes]
Use explicit casts.

svn path=/trunk/; revision=48457
2013-03-21 17:52:43 +00:00
Bill Meier
1b6ff3edc5 From Fabio Tarabelloni: Fix for: "ZigBee Cluster Library dissector does not handle arrays correctly"
See: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8214

From me:
 - Use spaces for indentation (instead of :4 space tabs");
 - Remove trailing whitespace;
 - Add placeholder for un-implemented dissection of data types set, struct, bag.
   (Probably should use 'expert' but that requires more work since dissection is under
    'if (tree)').

svn path=/trunk/; revision=48455
2013-03-21 17:11:55 +00:00
Evan Huus
95a9ea7149 From David Arnold via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8489
Dissector for NASDAQ's SoupBinTCP protocol (which is non-trivially different
from the old packet-nasdaq-soup dissector).

From me:
- fix CMake entry
- remove C++-style comments
- fix SVN Id tag

svn path=/trunk/; revision=48452
2013-03-21 15:43:48 +00:00
Bill Meier
1f083fd654 From beroset:
remove C++ incompatibilities
 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 attachments #10423,#10424

svn path=/trunk/; revision=48450
2013-03-21 14:29:58 +00:00
Pascal Quantin
e704aaa14b Upgrade RRC dissector to v11.5.0
svn path=/trunk/; revision=48444
2013-03-20 21:15:19 +00:00
Pascal Quantin
52f342685d Upgrade LPP dissector to v11.2.0
svn path=/trunk/; revision=48443
2013-03-20 21:14:25 +00:00
Anders Broman
88731fc9ef Set up RTCP conversation too.
svn path=/trunk/; revision=48442
2013-03-20 20:02:22 +00:00
Bill Meier
371d2dc915 From beroset:
remove C++ incompatibilities
 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 attachment #10401


svn path=/trunk/; revision=48441
2013-03-20 14:50:20 +00:00
Anders Broman
20c17246d4 svn path=/trunk/; revision=48440 2013-03-20 06:50:56 +00:00
Anders Broman
f92bd64966 [-Wmissing-prototypes]
Use explicit casts.

svn path=/trunk/; revision=48439
2013-03-20 05:59:22 +00:00
Evan Huus
a6d37fe9f3 From Dirk Jagdmann via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8475
Tidy up the display of Bind and BindAck slightly for DCE-RPC.

From me:
- fix indentation
- add modelines

svn path=/trunk/; revision=48431
2013-03-19 23:17:59 +00:00
Anders Broman
ae747e4c4b From beroset:
remove C++ incompatibilities 
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416

svn path=/trunk/; revision=48430
2013-03-19 22:03:00 +00:00
Anders Broman
7c56677cf9 From beroset:
remove C++ incompatibilities 
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416

svn path=/trunk/; revision=48429
2013-03-19 21:22:31 +00:00
Anders Broman
b848149964 From beroset:
remove C++ incompatibilities 
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416

svn path=/trunk/; revision=48428
2013-03-19 21:06:52 +00:00
Pascal Quantin
1af56ab0c7 Upgrade NAS disssectors to v11.6.0
svn path=/trunk/; revision=48427
2013-03-19 20:47:48 +00:00
Anders Broman
6bde918078 From beroset:
remove C++ incompatibilities 
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416

svn path=/trunk/; revision=48426
2013-03-19 20:00:52 +00:00
Anders Broman
3eb06be97d From beroset:
remove C++ incompatibilities 
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416

svn path=/trunk/; revision=48425
2013-03-19 19:28:57 +00:00
Anders Broman
c3a054e6c1 Don't calculate checksum for ICMP packsets with a partial IP packet.
svn path=/trunk/; revision=48423
2013-03-19 18:51:36 +00:00
Alexis La Goutte
d16cb61d96 From chaitanya via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8497
Add support for 11R RIC IE's: Data and Descriptors for both FT-Over-Air and FT-Over-DS

Add 802.11 Tag RIC Data (57)
Add 802.11 Tag RIC Descriptor (75) (Not tested...)

From me:
- Remove tabs and whitespace
- Fix fix-encodings-args "warning"

svn path=/trunk/; revision=48421
2013-03-19 16:59:06 +00:00
Evan Huus
d70fafb0db And packet-isup.c is the first to fall to r48415.
From Anders via
https://www.wireshark.org/lists/wireshark-dev/201303/msg00183.html

svn path=/trunk/; revision=48417
2013-03-19 15:38:14 +00:00
Pascal Quantin
d31620a7bf From Michal Labedzki via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 :
Remove C++ incompatibilities from Bluetooth dissectors and switch to wmem API

svn path=/trunk/; revision=48414
2013-03-19 13:51:52 +00:00
Anders Broman
a10b98284c From beroset:
remove C++ incompatibilities 
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416

svn path=/trunk/; revision=48412
2013-03-19 04:54:30 +00:00
Pascal Quantin
f904464fe9 Add a missing static
svn path=/trunk/; revision=48410
2013-03-18 22:58:36 +00:00
Anders Broman
d8bd66c291 From beroset:
remove C++ incompatibilities 
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416

svn path=/trunk/; revision=48409
2013-03-18 22:38:56 +00:00
Pascal Quantin
86eda54fe6 As suggested by Evan Huus, use extended value_strings
svn path=/trunk/; revision=48407
2013-03-18 22:21:53 +00:00
Anders Broman
a46de56e38 From beroset:
remove C++ incompatibilities 
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416

(catch the one that almost slipped away)

svn path=/trunk/; revision=48404
2013-03-18 22:16:58 +00:00
Anders Broman
077c1eb385 Update a value_string
svn path=/trunk/; revision=48401
2013-03-18 21:31:56 +00:00
Anders Broman
55c498169d From beroset:
remove C++ incompatibilities 
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416

svn path=/trunk/; revision=48400
2013-03-18 21:16:23 +00:00
Anders Broman
84241f46ad From beroset:
remove C++ incompatibilities 
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416

svn path=/trunk/; revision=48399
2013-03-18 20:44:36 +00:00
Pascal Quantin
94f330030d use enum values instead of hardcoded values
(as suggested by Sylvain Munaut in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8487)

svn path=/trunk/; revision=48397
2013-03-18 20:26:47 +00:00
Anders Broman
434aae5245 From beroset:
remove C++ incompatibilities 
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416

svn path=/trunk/; revision=48396
2013-03-18 19:47:33 +00:00
Pascal Quantin
847fb4ef0a Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8493 :
Use proto_tree_add_item instead of proto_tree_add_bits_item to display Used Cipher

svn path=/trunk/; revision=48393
2013-03-18 16:11:00 +00:00
Anders Broman
b0f4928ab2 From Michal Labedzki:
Use external value list for character set values
 in AVRCP

There is a special list with a lot of values so why not using it.

- From me: import packet-wap.h.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8304

svn path=/trunk/; revision=48390
2013-03-18 06:29:57 +00:00
Anders Broman
3b24b8bbef From Michal Labedzki:
Be consistent in short name of protocols

Use prefix "BT " in short name for all Bluetooth dissectors. A reason
for that is protocol names start by "bt", Bluetooth dissectors can
be easy identificated, also DecodeBy looks better (sorted).
Please be note that "SDP" is reserved for different dissector, so using
"BT SDP" is good choice.

Also fix two naming mistakes.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8304

svn path=/trunk/; revision=48389
2013-03-18 06:23:22 +00:00
Anders Broman
2ae1d08bbe From Michal Labedzki:
Fix issues found by fix-encoding-args.pl
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8304

svn path=/trunk/; revision=48388
2013-03-18 06:13:09 +00:00
Anders Broman
c2976ac508 From Michal Labedzki:
Fix issues discovered by cppcheck

Also use global OUI array in AVRCP.
Thanks to Evan Huus for cppcheck.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8304

svn path=/trunk/; revision=48387
2013-03-18 06:04:09 +00:00
Anders Broman
5726546c63 From Michal Labedzki:
Update HID to version 1.1

Also fix SDP TAP to avoid crash.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8304

svn path=/trunk/; revision=48386
2013-03-18 05:51:01 +00:00
Anders Broman
fa1f2a2935 From Michal Labedzki:
USB: Use hfi name instead of hardcoded value.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8304

svn path=/trunk/; revision=48385
2013-03-18 05:34:39 +00:00
Anders Broman
d1f89f81d8 From beroset:
remove C++ incompatibilities 
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416

svn path=/trunk/; revision=48384
2013-03-18 05:18:32 +00:00