Commit Graph

62186 Commits

Author SHA1 Message Date
Jaap Keuter d4b3c8602c What a difference a comma makes. CID-1355680
Split two media type strings with the properly placed comma.

Change-Id: Ia6026879b63b9f51c3f2e61d8709f43716f0c6e2
Reviewed-on: https://code.wireshark.org/review/14472
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-03-14 22:27:39 +00:00
D. Ulis 103214abfe CIP: Restore path information to Info column
When the "Display enhanced Info column data" preference is set, ensure that:
1. For non-MSP packets, path information (class/symbol) is displayed in the Info column for Forward Open, Forward Close, regular Message Router Request/Response messages
2. For MSP packets, don't display the class/symbol in the Info column (it's too wordy)

This now relies on an extra boolean passed to dissect_cip_data() to handle #2 above. Previously, this relied on checking a proto_item* for NULL, which is not correct.

Change-Id: I7532660bcb23bd664c1f5532256755922c4937d1
Reviewed-on: https://code.wireshark.org/review/14458
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-03-14 17:07:41 +00:00
Guy Harris ec075789e3 Try to suppress a compiler feature that goes wrong.
-Warray-bounds + the macros for strcmp() = pain.  Either the macro is
doing something wrong or the compiler is confused, because

	if( strcmp(argv[i],"--")==0 ) dashdash = 1;

should not produce

	array index 3 is past the end of the array (which contains 3
	elements)

Either 1) the macro is blithely running past the end of "--", which
does, indeed, contain only 3 elements, or 2) the compiler mistakenly
believes that the code generated by the macro is running past the end of
"--" when it isn't.

Change-Id: I4183e29272ba9e05b3b370efd90102f2226df7c3
Reviewed-on: https://code.wireshark.org/review/14469
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-03-14 16:59:17 +00:00
Gerald Combs 4aa049019a OS X: Remove GTK+ packaging.
Remove the GTK+-specific bits from packaging/macosx.

Change-Id: I8f7d909f971e60723e421005fdf46de967c69533
Reviewed-on: https://code.wireshark.org/review/14431
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2016-03-14 16:09:42 +00:00
Gerald Combs d877dcc1c4 Parallelize fuzz-test.sh
Run each "argument" test (e.g. "-nVxr" and "-nr") simultaneously in
the background. This should speed up our tests without reducing the
amount of fuzzing that we do.

Change-Id: I737d1dc09b31e07910d56632bec62da0f35fe222
Reviewed-on: https://code.wireshark.org/review/14432
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2016-03-14 15:54:26 +00:00
João Valverde 54798eee3b Add EditorConfig settings for epan/*.[ch]
Change-Id: Idf53845158e1c112984bee895b91a39475f8c110
Reviewed-on: https://code.wireshark.org/review/14454
Reviewed-by: João Valverde <j@v6e.pt>
2016-03-14 13:22:30 +00:00
João Valverde fe535b8eb9 Set EditorConfig hard tab width to 8 for C
Our check scripts require 8 columns when using tab indentation with modelines
so use the same setting for EditorConfig.

Change-Id: I5a5a7c22a03866ee77c8fdc98d6582366950ce77
Reviewed-on: https://code.wireshark.org/review/14453
Reviewed-by: João Valverde <j@v6e.pt>
2016-03-14 13:22:14 +00:00
Guy Harris ee531bad18 More sorting.
Change-Id: Id74c065ef2151d4b9fe2d8275838ebe12c83b6ad
Reviewed-on: https://code.wireshark.org/review/14465
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-03-14 10:25:05 +00:00
Guy Harris 42a78060d5 More sorting.
Change-Id: Iad364a735d348913d7bc8936dbb2c8543801fe7e
Reviewed-on: https://code.wireshark.org/review/14464
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-03-14 10:23:17 +00:00
Guy Harris cdd0ec20a3 More sorting.
Change-Id: I562c95b6b081d50e9b7c0c743a9ad01bcaf5b1f0
Reviewed-on: https://code.wireshark.org/review/14463
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-03-14 10:20:54 +00:00
Guy Harris c9d4d61bce More sorting.
Change-Id: Ia1b2cef56ae1ca16598ab757a730c80bb20beca5
Reviewed-on: https://code.wireshark.org/review/14462
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-03-14 10:14:52 +00:00
Guy Harris 9e1aee97e5 Move some non-ASN.1 dissectors out of the ASN.1 dissectors list.
Sort the list of PIDL dissectors while we're at it.

Change-Id: Ice90bf9b14b440fdfe59d1639fc0674e326a9923
Reviewed-on: https://code.wireshark.org/review/14461
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-03-14 10:10:01 +00:00
Guy Harris c6aad904dd Move some non-ASN.1 dissectors out of the ASN.1 dissectors list.
Sort the list of PIDL dissectors while we're at it.

Change-Id: I1425046d6feaded7af94f4a852d8f0984bd0b736
Reviewed-on: https://code.wireshark.org/review/14460
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-03-14 10:01:12 +00:00
Moeller, Thies fd396ec650 packet-u3v.c lost after cmake build cleanup
fixes 6b54fbf3bf

Change-Id: If3b911dd8124a53b91d1ac2b35ea1dad0eec4802
Reviewed-on: https://code.wireshark.org/review/14459
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-03-14 09:34:53 +00:00
Stig Bjørlykke 033223c21d Qt: Add FunnelTextDialog geometry state
Use "Funnel <title>" as dialog name to avoid a user defined dialog
title to be equal to a existing dialog title.

Change-Id: I3d21c87de8fe5852f37a18b4751fb4d4428ce6ea
Reviewed-on: https://code.wireshark.org/review/14450
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2016-03-14 07:38:26 +00:00
Guy Harris 13517e61db Another fix for the Info column.
Bug: 12257
Change-Id: I1859aa11c79f82060ab6051f702e69794f82c0ea
Reviewed-on: https://code.wireshark.org/review/14457
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-03-14 02:50:35 +00:00
Guy Harris 0246f2d8a0 Don't let the existence of a protocol tree affect what's in the Info column.
A dissector must never assume that it will, or won't, be called with a
protocol tree; it's up to the Wireshark/TShark/etc. core to decide
whether to do it, and it can change its behavior over time or even
change it from release to release.

Have dissect_epath() take an argument that explicitly indicates whether
to add the CIP class to the Info column, rather than assuming that you
do so only if the tree pointer passed to it is null.

Bug: 12257
Change-Id: Ide8a6fc21252880f849a8d0aa4659a675bb3ae04
Reviewed-on: https://code.wireshark.org/review/14456
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-03-14 02:35:47 +00:00
Jeff Morriss 8cb41a9337 Handle RADIUS ident reuse better.
Rather than storing RADIUS calls in a map keyed by the ident and conversation
store a tree of calls (using the the same key).  Store each (non-duplicate)
call (request) in the tree, keyed by frame number.  When looking for a match
(or a duplicate) look for the most-recently-seen frame in the tree (i.e., the
most recent frame with the same ident + conversation).  Only declare a request
a duplicate if the authenticator is identical (as per RFC 5080 section 2.2.2).

Only store things in the map/tree on the first pass.

Remove the 'request_ttl' preference: it's better to show the user when the
response came back even if it was "late."  (This also allows duplicate request
detection inside of the TTL.)

When telling the user about a duplicate don't tell them the ident again: they
already know that.  Tell them the frame number of the original.

Use the FT_FRAMENUM_REQUEST/FT_FRAMENUM_RESPONSE hints.

Move a couple structures from the header file to the C file: they're only used
in the RADIUS dissector anyway.

Bug: 4096
Change-Id: I0e8bc0d23cd6b219cecd82f5c4cd765d28a14d98
Reviewed-on: https://code.wireshark.org/review/14451
Petri-Dish: Jeff Morriss <jeff.morriss.ws@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-03-14 02:05:18 +00:00
Jeff Morriss c31f687a0f wmem-ify the Radius call table.
This includes not making assumptions about the order in which a GHashTable or
wmem_map implementation provides the keys to the GEqualFunc function
(apparently the former's order is different than the latter).

Change-Id: Ifbcb0f4f2c38b2ce6e44bf66c7246575af6299fa
Reviewed-on: https://code.wireshark.org/review/14448
Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-03-14 02:04:57 +00:00
João Valverde 64c70ea62c Clean asn1 make/cmake whitespace
Add missing newline or remove extra newlines at the end of the file.

Trim trailing whitespace.

Change-Id: I73b7a4e20969bc13f72bf97e981fd5de89d8bb17
Reviewed-on: https://code.wireshark.org/review/14400
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: João Valverde <j@v6e.pt>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2016-03-13 21:58:09 +00:00
João Valverde 54a520d4a1 Move /asn1 to /epan/dissectors
Change-Id: I1208fe3c2ba428995526f561e8f792b8d871e9a9
Reviewed-on: https://code.wireshark.org/review/14388
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: João Valverde <j@v6e.pt>
2016-03-13 21:30:24 +00:00
Gerald Combs c1f3c935bd [Automatic update for 2016-03-13]
Update manuf, services enterprise-numbers, translations, and other items.

Change-Id: I9a80e0c443496a65e6ef34c6a329c92dd48a803d
Reviewed-on: https://code.wireshark.org/review/14452
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2016-03-13 20:31:42 +00:00
Jeff Morriss 89fc294892 Fix a FIXME: remove an if(tree).
The reason the notice in the INFO column disappeared when a display filter was
added is because the column operation was wrapped in an if(tree).

Change-Id: Ic8ff929d7ef601458b8650f8095f87282f9fde40
Reviewed-on: https://code.wireshark.org/review/14449
Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-03-13 20:30:24 +00:00
Paulo Roberto Brandão 55fd97e73d ISO 8583-1 dissector initial import
Initial import of source code for the dissector of the ISO 8583-1
'financial transaction card originated messages - Interchange
message specification' standard.

Bug: 12244
Change-Id: I24804cab4a93131ec9afa307844ad62eb2e01089
Reviewed-on: https://code.wireshark.org/review/14311
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2016-03-13 17:39:32 +00:00
Gerald Combs 30563e6c3a [Automatic update for 2016-03-13]
Update manuf, services enterprise-numbers, translations, and other items.

Change-Id: Id764cddac44715977f4abbd1f55bfc961a1973a4
Reviewed-on: https://code.wireshark.org/review/14443
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2016-03-13 15:08:59 +00:00
Stig Bjørlykke 6f220a343e Lua: Remove heur dissectors when reload Lua plugins
When reloading Lua plugins all registered heuristic dissectors
must be removed.

Bug: 12251
Change-Id: Ib7da6df347fb9294f5394ae531b582bf6d2730bb
Reviewed-on: https://code.wireshark.org/review/14429
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2016-03-13 10:51:44 +00:00
Stig Bjørlykke b46d55551f Lua: Apply prefs when reload Lua plugins
Change-Id: I9003fd8c4eb52a868ad88b7ea00b6cf0e70e5c90
Reviewed-on: https://code.wireshark.org/review/14440
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2016-03-13 10:33:02 +00:00
Stig Bjørlykke 39c11ce133 Lua: Check for duplicate heuristic short name
A Proto may be only be registered with a heuristic dissector once,
because we check this in heur_dissector_add().

Change-Id: I524fa832b647d557f13aedcb870f7789058d2180
Reviewed-on: https://code.wireshark.org/review/14436
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2016-03-13 10:20:12 +00:00
Michal Labedzki 3c143d2846 androiddump 1.0.2: Fix a lot of usage of recv()
recv() can return negative value or 0 in "error cases".
There is need to check it. This also solved empty interfaces
list if there is unauthenticated device.

Bug: 12080
Change-Id: If6cd0e0933b64e9ac9bbb66b3b8138f7177451d1
Reviewed-on: https://code.wireshark.org/review/14316
Petri-Dish: Michal Labedzki <michal.labedzki@tieto.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
2016-03-12 18:26:33 +00:00
Adrian a69d07dca0 [docsis->mdd] Add support for TLV 1.6
Change-Id: I5c7529bc630ad7312011b04ce101ba3608041d35
Reviewed-on: https://code.wireshark.org/review/14435
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-03-12 15:08:27 +00:00
Alexis La Goutte bc55b62bf6 s7comm: fix 's7comm.cpu.msg.events.modetrans' exists multiple times with NOT compatible types: FT_BOOLEAN and FT_UINT8
Change-Id: I1fea29ab8813ec69339550a477eb3203f3b5f3aa
Reviewed-on: https://code.wireshark.org/review/14421
Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-03-12 03:26:53 +00:00
Alexis La Goutte 9775fbe7d8 Assa (R3): fix 'r3.forceoptions.state' exists multiple times with NOT compatible types: FT_UINT16 and FT_BOOLEAN
Change-Id: I6bae0af90fd9604dbc9c484d119580adbb11b914
Reviewed-on: https://code.wireshark.org/review/14422
Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-03-12 03:25:48 +00:00
Alexis La Goutte bcbe7f73c9 QUIC: Add new tag found with version Q29
* XLCT: Expected leaf certificat
* NONP: Client Proof Nonce

Change-Id: I91713545a995e7f28735373fabc644508193a519
Reviewed-on: https://code.wireshark.org/review/14419
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-03-12 03:24:26 +00:00
Michael Mann 7f8b3025ef Walk up the tree view of Protocol Hierarchy Statistics to look for protocol matches.
Things like [Reassembled TCP segments] can add superfluous leaves so just walking down the tree from current location, so walk up the tree as well.

Bug: 1734
Change-Id: I91af554b59e1a6867dba9189ba37db5e396d892a
Reviewed-on: https://code.wireshark.org/review/14393
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-03-12 03:05:07 +00:00
Gerald Combs 28bfb32105 Qt: Defer proto tree column content resizing.
Try to avoid the following call graph:

ProtoTree::expandAll
  ...
    ProtoTree::expand
      ...
        QTreeView::resizeColumnToContents

QTreeView::resizeColumnToContents calls sizeHintForColumn, which
iterates over a number of items (default 1000). Calling it from
ProtoTree::expand can lead to excessive wheel-spinning.

Add a single-shot timer for resizeColumnToContents. This is similar to
what QTreeView does internally when columns are resized.

Bug: 12228
Change-Id: I7b50c1486b3a25817efae58efbb8c9e961dbdab0
Reviewed-on: https://code.wireshark.org/review/14411
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2016-03-11 20:42:11 +00:00
Gerald Combs 6ed543dbe6 Remove the last remnants of U3 support.
Change-Id: Ide4c177e67a77c5f9495b3b4c0f817f40e6dde30
Reviewed-on: https://code.wireshark.org/review/14425
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2016-03-11 19:55:57 +00:00
Pascal Quantin d9c274bebf Add IAX2 and Skinny calls to VoIP calls window
Bug: 12254
Change-Id: Ibaddfaf8018be673d8f2cf642b1127062d7d507d
Reviewed-on: https://code.wireshark.org/review/14423
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2016-03-11 17:48:22 +00:00
Gerald Combs 0345b8d853 OS X packaging: Remove some unused files.
Change-Id: Id01af6460828338bd3d0ac59e20000e93999ca7b
Reviewed-on: https://code.wireshark.org/review/14424
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2016-03-11 17:24:13 +00:00
João Valverde 0ca383e529 cmake: Copy docs to build datafile dir for NSIS packaging.
Change-Id: Icc1f6dadc8bb082c4049cafc6a7e6c2d030ec85e
Reviewed-on: https://code.wireshark.org/review/14409
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: João Valverde <j@v6e.pt>
2016-03-11 15:20:46 +00:00
Alexis La Goutte f82c46c795 trmac: fix 'trmac.group_address' exists multiple times with NOT compatible types: FT_ETHER and FT_UINT32
Change-Id: I5289022752513e84783a8c65ab8f2327a7023597
Reviewed-on: https://code.wireshark.org/review/14414
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-03-11 14:16:09 +00:00
Alexis La Goutte 4c6a18688e SCSI: Fix conflict for hf fields
'scsi.blockdescs.no_of_blocks' exists multiple times with NOT compatible types: FT_UINT32 and FT_UINT64
'scsi.naa.vendor_specific' exists multiple times with NOT compatible types: FT_BYTES and FT_UINT32

Change-Id: Iaa512c02b99f0a103bb5015e92d900dae2932843
Reviewed-on: https://code.wireshark.org/review/14418
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-03-11 14:14:58 +00:00
Alexis La Goutte 2746cf61b2 sigcomp: fix 'sigcomp.decompression_failure' exists multiple times with NOT compatible types: FT_NONE and FT_UINT32
Change-Id: I45a1c26dd7f8822faeed62dd82b5ecdcca16be41
Reviewed-on: https://code.wireshark.org/review/14417
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-03-11 14:13:49 +00:00
Alexis La Goutte 2afe4ced99 sysex: fix 'sysex.digitech.parameter_data' exists multiple times with NOT compatible types: FT_BYTES and FT_UINT8
Change-Id: I3692c6465f6d8e4ce6c9a0f6e4bb851b83713757
Reviewed-on: https://code.wireshark.org/review/14416
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-03-11 14:13:02 +00:00
AndersBroman 2c668216f9 [SGsAP] Wrong tag used for IE Erroneous message, dissect the failing
message too.

Change-Id: I6d10d41366795e59396c238cf620c43a3d96217b
Reviewed-on: https://code.wireshark.org/review/14420
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2016-03-11 13:25:40 +00:00
Alexis La Goutte 6f3bcd0102 TDS: Fix conflict for hf fields
'tds.done.donerowcount' exists multiple times with NOT compatible types: FT_UINT32 and FT_UINT64
'tds.doneproc.donerowcount' exists multiple times with NOT compatible types: FT_UINT32 and FT_UINT64
'tds.doneinproc.donerowcount' exists multiple times with NOT compatible types: FT_UINT32 and FT_UINT64
'tds.envchange.newvalue' exists multiple times with NOT compatible types: FT_BYTES and FT_STRING
'tds.envchange.oldvalue' exists multiple times with NOT compatible types: FT_BYTES and FT_STRING

Change-Id: I87d713aaa722d7ab9e8d19955f3820e9040446c1
Reviewed-on: https://code.wireshark.org/review/14415
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-03-11 12:41:06 +00:00
Jeff Morriss f67e7d78d8 Rename a variable for clarity.
It's confusing to have 'pdus_tree' mean both the map of pdu_trees and the pdu
trees themselves.

Change-Id: Ie875798eb140b60a1309ddc0c0bf885b48c0407c
Reviewed-on: https://code.wireshark.org/review/14413
Petri-Dish: Jeff Morriss <jeff.morriss.ws@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2016-03-11 03:37:23 +00:00
João Valverde 1fad3334c6 Fix NSIS installer
Broken by gb7f6cf9.

Change-Id: I21a91cf56c16b7ffdf72da7bf68a556feb6a6c17
Reviewed-on: https://code.wireshark.org/review/14408
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: João Valverde <j@v6e.pt>
2016-03-10 14:45:14 +00:00
Jaap Keuter 7bd1158b95 Remove double check for null (CID 1158871)
Make full use of our proper implementation of this macro by
giving it the pointer as is.

Change-Id: I0bbe73d19cc3f578b94ea2d4d904d6fa87b20b48
Reviewed-on: https://code.wireshark.org/review/14391
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-03-10 13:23:59 +00:00
D. Ulis 3eafa0b4a6 CIP: Improve info column information
1. Remove "Object" from CIP class names. It was already removed from some of the objects, the string "Object" is implied for all objects, and it helps reduce wordiness in the Info column.
2. Don't display Class/Symbol name in the Info column when it's inside a MSP.
3. Enable enhanced Info column by default now that some of the additional wordiness was removed by the above points.
4. Put single quotes around the symbol name in the Info column. This makes it more obvious that something is a symbol instead of an actual class name from the spec, and would prevent ambiguity if the symbol name was something like "Identity".
5. Print the CIP service for both requests/responses in CIP Safety processing. This was already added to normal CIP.
6. Display Class/Symbol and service on the Service Packet in the MSP tree. This makes it easier to find without expanding every MSP item.

Change-Id: I7197dd4bf3dad6d7bdba247d3d7ab76cca52c785
Reviewed-on: https://code.wireshark.org/review/14325
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: D. Ulis <daulis0@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-03-10 13:09:44 +00:00
Pascal Quantin e0fe8c2543 3GPP NAS: fix dissection of GMM Identity Request, Response and Authentication and Ciphering Failure messages
Bug: 12246
Change-Id: I0cad1c951c4939bde41c281cfc0cf5b4a08ea2a3
Reviewed-on: https://code.wireshark.org/review/14406
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2016-03-10 12:47:44 +00:00