Commit Graph

62636 Commits

Author SHA1 Message Date
Pascal Quantin ae316e2d88 Compile sshdump and ciscodump for Windows
Use libSSH 0.7.2 compiled with MinGW(32|64) and linked with zlib and gcrypt support

Change-Id: I7c17d1ba3dd1890e2f83c119f5ea851834807e43
Reviewed-on: https://code.wireshark.org/review/12117
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-25 07:22:28 +00:00
Gerald Combs c3574ed417 [Automatic update for 2016-04-24]
Update manuf, services enterprise-numbers, translations, and other items.

Change-Id: Id3a7e3cf248df0c1c0159b4bf1d1a01e3f83efb9
Reviewed-on: https://code.wireshark.org/review/15074
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2016-04-24 15:08:15 +00:00
Jeff Morriss 43df65a29c Delay registration of Diameter fields until they're needed.
... Like the RADIUS and wimaxasncp dissectors do.

Change-Id: Ifab019a0040d3938e52918a282a3beba9dfcfc70
Reviewed-on: https://code.wireshark.org/review/14900
Petri-Dish: Jeff Morriss <jeff.morriss.ws@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-24 06:47:07 +00:00
Jeff Morriss dc3aa26dd3 Qt UAT: call the UAT update callback after each field is updated.
This fixes a crash when changing the SCCP dissector's users table when
finishing the edit of a string column by clicking elsewhere (rather than
pressing Enter/Return) or when changing an enum column.

(The SCCP dissector depends on that update callback being called before the
copy callback.)

To do this:
 1) Use the editingFinished signal rather than looking for Enter/Return key
    presses (so that a focus change is processed as the end of an edit).
 2) Call the update callback when an enum field changes.

Bug: 12364
Change-Id: I1884c67b6e873b46afe33703581d0b3dccbbdaf1
Reviewed-on: https://code.wireshark.org/review/15059
Petri-Dish: Jeff Morriss <jeff.morriss.ws@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-24 06:46:27 +00:00
Michael Mann e19babfc55 Bounds check the use of ett_zbee_zcl_pwr_prof_enphases array.
Bug: 12358
Change-Id: Iec5dcba388f06e1fd1ef26f0679b06c3dda6a7bf
Reviewed-on: https://code.wireshark.org/review/15072
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-23 21:55:12 +00:00
Pascal Quantin f7691b13c7 ETSI CAT: add dissection of Information Elements coded as EFadn
While we are at it, fix decoding of STK packed SMS

Change-Id: I2de757f1720381c75f23f3ee6043ac56813db658
Reviewed-on: https://code.wireshark.org/review/15054
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-04-23 15:57:33 +00:00
João Valverde 6f5991750b autotools: Fix rpm-package target
Change-Id: I6012199370a17d534ba7633509cd95c8a81aaebd
Reviewed-on: https://code.wireshark.org/review/15062
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2016-04-23 12:43:40 +00:00
Martin Kaiser f5af43f7d2 iso14443: use the array_length() macro
Change-Id: Id4431885fb78d8d8679e98111d9f007491c3f13e
Reviewed-on: https://code.wireshark.org/review/15069
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
2016-04-23 12:12:37 +00:00
Martin Kaiser 9fbd4e6fcd addr_resolv: don't free the same wmem_list entry twice
fetch the list head each time we iterate through the list

if we don't, we crash when the same entry is removed a second time

 #0  wmem_block_remove_from_block_list (block=0x7fffecd7b1c0, allocator=<optimized out>) at wmem_allocator_block.c:738
 #1  wmem_block_free_jumbo (chunk=0x7fffecd7b1d0, allocator=0x65c060) at wmem_allocator_block.c:822
 #2  wmem_block_free (private_data=0x65c060, ptr=0x7fffecd7b1e0) at wmem_allocator_block.c:913
 #3  0x00007ffff452eac1 in host_name_lookup_process () at addr_resolv.c:2466
 #4  0x000000000041733d in process_packet (cf=cf@entry=0x63fe20, edt=edt@entry=0xce08f0, offset=<optimized out>, whdr=0xc97c70,
    pd=pd@entry=0xc9f550 "", tap_flags=tap_flags@entry=0) at tshark.c:3699
 #5  0x000000000040f199 in load_cap_file (max_byte_count=13197776, max_packet_count=<optimized out>, out_file_name_res=0,
    out_file_type=2, save_file=0x0, cf=<optimized out>) at tshark.c:3483
 #6  main (argc=<optimized out>, argv=<optimized out>) at tshark.c:2192

Change-Id: I1ac813242188842130f4070ef326b12fe23b782f
Reviewed-on: https://code.wireshark.org/review/15068
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
2016-04-23 12:03:05 +00:00
Guy Harris 76ae74cea3 Get rid of unnecessary method override.
The conversation dialog doesn't do anything different with the name
resolution checkbox than any other subclasses of the traffic table
dialog do, so leave it up to the parent class.

Change-Id: I07f6c09b931ed10655f5921c0a4ab5d439dd6bcd
Reviewed-on: https://code.wireshark.org/review/15065
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-04-23 01:44:34 +00:00
Guy Harris 948342a487 Forcibly update all items if name resolution is turned on or off.
This makes the display change if you turn the name resolution checkbox
on or off.

Change-Id: I873832b103b61e1e566523a1ae1c4211937c7bae
Reviewed-on: https://code.wireshark.org/review/15063
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-04-23 01:35:22 +00:00
Guy Harris 3db13c7bbb Don't fail in host_name_lookup_init() if manually resolved lists exist.
Those lists aren't destroyed by host_name_lookup_cleanup(), so don't
assume in host_name_lookup_init() that they don't exist; just create
them if they don't exist and leave them alone if they do.

(GSLists and GLists are different from wmem_lists - a pointer to a GLib
list is just a pointer to a list element, so an empty list is
represented by a null pointer, but a wmem_list has a structure
containing other information, so an empty list has null list pointers in
that structure, and a null wmem_list * means the list doesn't exist at
all.)

Change-Id: I88c00cc9ac0812ab71adc70e3300ab3829fee8ab
Reviewed-on: https://code.wireshark.org/review/15061
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-04-22 23:45:37 +00:00
Guy Harris 249f87aeee There's no version.h.in file.
Change-Id: Ia9c956d5b1f653f111e012fccc892246fcaa8b4b
Reviewed-on: https://code.wireshark.org/review/15060
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-04-22 23:13:39 +00:00
João Valverde 5d1ee652ed Add CMake version.h dependency
Remove the need for version.h.in and bring CMake up to par with autotools.

Change-Id: I701b56c475f5fdec1f9a028536fff6992ce8eaca
Reviewed-on: https://code.wireshark.org/review/15031
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-04-22 22:10:30 +00:00
Dario Lombardo 341c2dfdb6 extcap_parser: remove const warning.
Change-Id: I94c3ec81c2b88c987bc07352c6b1909d2226ee54
Reviewed-on: https://code.wireshark.org/review/14828
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-22 21:33:47 +00:00
Alexis La Goutte da63bcdc76 netlogon (DCERPC): fix build error unused parameter when don't have KERBEROS lib
Reported by Uli https://www.wireshark.org/lists/wireshark-dev/201604/msg00172.html and Benjamin https://code.wireshark.org/review/#/c/14971/

Use fix proposed by Guy https://www.wireshark.org/lists/wireshark-dev/201604/msg00176.html

Change-Id: I4ca4fc3b9a9b52217f2675cb968125d97d94ed2e
Reviewed-on: https://code.wireshark.org/review/15036
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Uli Heilmeier <openid@heilmeier.eu>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-22 21:32:14 +00:00
Pascal Quantin e0eefbe20a tvbuff_composite.c: do not recompute abs_length
abs_length is already computed by the caller of composite_get_ptr (ensure_contiguous_no_exception).
No need to do the work another time

Change-Id: I93edd6d405b2d5afe99dc7c781ecea4b395ef7bd
Reviewed-on: https://code.wireshark.org/review/15053
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-22 21:26:37 +00:00
Dario Lombardo 13dc91f5b6 addr_resolv: change g_slist to wmem_list.
Change-Id: Ifde09174e50bc2a9d695ac0a823e63f645284a10
Reviewed-on: https://code.wireshark.org/review/15050
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
2016-04-22 21:26:13 +00:00
Cathy Yang bbd8a4b94a [SGsAP] IMSI is a TLV type IE in SGsAP-MO-CSFB-INDICATION message
Change-Id: I4abee8bbf160771f88693dadd7f4658e7229c4dd
Reviewed-on: https://code.wireshark.org/review/15052
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-22 07:53:41 +00:00
Jeff Morriss bc820f0b3e Add mplog to the list of file extensions understood by Wireshark.
By putting it in this list the File->Open dialog will include an option for
*.mplog files.

Change-Id: Icf6480f7be1023650262fc1f3996a390e137cb88
Reviewed-on: https://code.wireshark.org/review/15048
Petri-Dish: Jeff Morriss <jeff.morriss.ws@gmail.com>
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-22 04:48:17 +00:00
Dario Lombardo 6320272869 ansi: make ett array static.
Change-Id: I1ba044feb581cd00c928269c02555d31970e9a42
Reviewed-on: https://code.wireshark.org/review/14891
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-22 04:42:46 +00:00
Dario Lombardo 493f6e223b epl: change g_malloc to wmem_alloc.
Change-Id: I3d099047be2a4ef0e104f5f54b6b458387e7a1f0
Reviewed-on: https://code.wireshark.org/review/14928
Reviewed-by: Christoph Schlosser <christoph@schlosser.xyz>
Petri-Dish: Roland Knall <rknall@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-22 04:41:52 +00:00
Alexis La Goutte 71750b2860 USB Audio: Add dissection of Format Type Descriptor
Only support Type 1 and 2

Change-Id: I0d2f5b9bc59063cb77d81667fe68c37133985568
Ping-Bug:11858
Reviewed-on: https://code.wireshark.org/review/15039
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-22 04:37:47 +00:00
Alexis La Goutte d22526f103 USB Audio: Add expert info about undecoded Audio Control/Streaming Interface Descriptor
Ping-Bug: 11858
Change-Id: I9779ab089862c62f4f248e9b6694888368934214
Reviewed-on: https://code.wireshark.org/review/15040
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-22 04:36:07 +00:00
Dario Lombardo fc3885fd51 wmem: add wmem_map_size().
Change-Id: I3acca7939466a4436e23bcf828ef94f927ce8b76
Reviewed-on: https://code.wireshark.org/review/15042
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-22 04:34:45 +00:00
Dario Lombardo fe75c87575 wmem: add foreach function to wmem_map.
Makes wmem_map more similar to g_hash.

Change-Id: Ia17a19ab0be8e07fbb64801d54db2ba8217a7fea
Reviewed-on: https://code.wireshark.org/review/15020
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-22 04:33:58 +00:00
Pascal Quantin 9abbf8b69d Do not mix wmem and glib allocators
Change-Id: I0e845668a1b9dbec93ea920a8585ecfe60f001d1
Reviewed-on: https://code.wireshark.org/review/15044
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-22 04:32:32 +00:00
Martin Kaiser 9de18e88f5 If you allocate with wmem, free with wmem.
This g_free() causes a crash on my system for every capture file where
names are resolved.

Program received signal SIGABRT, Aborted.
0x00007ffff0347125 in *__GI_raise (sig=<optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
 #0  0x00007ffff0347125 in *__GI_raise (sig=<optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
 #1  0x00007ffff034a3a0 in *__GI_abort () at abort.c:92
 #2  0x00007ffff038135b in __libc_message (do_abort=<optimized out>,
fmt=<optimized out>)
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
 #3  0x00007ffff038abb6 in malloc_printerr (action=3, str=0x7ffff0464532
"free(): invalid pointer", ptr=<optimized out>)
    at malloc.c:6312
 #4  0x00007ffff038f95c in *__GI___libc_free (mem=<optimized out>) at
malloc.c:3738
 #5  0x00007fffef8cca41 in ?? () from
/usr/lib/x86_64-linux-gnu/libcares.so.2
 #6  0x00007fffef8ccad2 in ?? () from
/usr/lib/x86_64-linux-gnu/libcares.so.2
 #7  0x00007fffef8cceea in ?? () from
/usr/lib/x86_64-linux-gnu/libcares.so.2
 #8  0x00007fffef8d501b in ?? () from
/usr/lib/x86_64-linux-gnu/libcares.so.2
 #9  0x00007fffef8d3a4a in ?? () from
/usr/lib/x86_64-linux-gnu/libcares.so.2
 #10 0x00007fffef8d4792 in ?? () from
/usr/lib/x86_64-linux-gnu/libcares.so.2
 #11 0x00007fffef8d49de in ?? () from
/usr/lib/x86_64-linux-gnu/libcares.so.2
 #12 0x00007fffef8d4cc7 in ?? () from
/usr/lib/x86_64-linux-gnu/libcares.so.2
 #13 0x00007ffff4329713 in host_name_lookup_process () at
addr_resolv.c:2485
 #14 0x000000000053fda9 in WiresharkApplication::refreshAddressResolution
(this=0x7fffffffe2f0) at wireshark_application.cpp:217
 #15 0x000000000059c42d in WiresharkApplication::qt_static_metacall
(_o=0x7fffffffe2f0, _c=<optimized out>, _id=<optimized out>,
    _a=0x7fffffffd7b0) at wireshark_application.moc.cpp:142
 #16 0x00007ffff140654f in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4

Change-Id: I20586929463259f71f325225975eec241166f123
Reviewed-on: https://code.wireshark.org/review/15047
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
2016-04-21 21:12:03 +00:00
João Valverde 3db13a7fc9 Link version code statically again
This allows keeping the code-sharing with the static linking.

This "fixes" a hypothetical ABI mismatch with wsutil and avoids pulling more
external dependencies to wsutil than strictly necessary.

A nice side-effect is that libwsutil no longer depends on version.h.

Follow up to f95976eefc.

Change-Id: I8f0d6a557ab3f7ce6f0e2c269124c89f29d6ad23
Reviewed-on: https://code.wireshark.org/review/15002
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-04-21 18:59:56 +00:00
João Valverde 7c6e859ccf Add "-git" tag to version
Add a static "-git" extra version tag for VCS snapshot builds, to be
replaced when running 'make-version -r'.

Change-Id: If29fca04029ed3129aa2332492dc536091049955
Reviewed-on: https://code.wireshark.org/review/15032
Reviewed-by: João Valverde <j@v6e.pt>
2016-04-21 18:59:40 +00:00
João Valverde eeded812f7 Add option to disable version.h
If the file '.git/wireshark-disable-versioning' exists then version.h
will be commented out.

Change-Id: If481b673463408a69c2ecf7c2e66d08c5855537f
Reviewed-on: https://code.wireshark.org/review/14932
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: João Valverde <j@v6e.pt>
2016-04-21 18:59:24 +00:00
Pascal Quantin 91cae7cf41 Do not mix wmem and glib allocators
Change-Id: I4bf861ed9e6b767341f2cbd4e926606d4919f2ef
Reviewed-on: https://code.wireshark.org/review/15041
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-04-21 18:29:17 +00:00
Mike Morrin 2048bc2258 DOF: Fix stack corruption due to incorrect pointer use
Bug: 12351
Change-Id: Ibf01223046697aacefd2646d98ad9d863c46fdd3
Reviewed-on: https://code.wireshark.org/review/15018
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: Anders Broman <a.broman58@gmail.com>
2016-04-21 17:25:39 +00:00
Benjamin Coddington 17ccb2cb44 packet-nfs: update GETDEVICEINFO op for pNFS SCSI
The pNFS SCSI layout type defines additional structures to be returned for
GETDEVICEINFO to refer to SCSI volumes.  Update packet-nfs.c to decode
these structures.  Only BASE volume types have been tested.

Change-Id: I8c6e283d6f98763ee505c7880dbc5ceac0e86675
Reviewed-on: https://code.wireshark.org/review/15016
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2016-04-21 10:06:42 +00:00
Guy Harris 14f2a654d4 If you allocate with wmem, free with wmem (more of same).
Change-Id: I10991dcb717a38936e2b7cf2f15885b5753378d0
Reviewed-on: https://code.wireshark.org/review/15034
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-04-21 06:52:03 +00:00
Guy Harris 661743e4da If you allocate with wmem, free with wmem.
Change-Id: I91476c825448cbeb8b96242236aae44d92244161
Reviewed-on: https://code.wireshark.org/review/15033
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-04-21 06:43:50 +00:00
Dario Lombardo d200b42265 addr_resolv: change g_malloc to wmem_alloc.
Change-Id: I25d4e82d6161c26d4f560bd495293c77671e00eb
Reviewed-on: https://code.wireshark.org/review/15021
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-21 04:37:39 +00:00
Guy Harris 99fcf25090 We have to call updateWidgets() to initialize the name resolution flag.
The conversation dialog does this, and we must do so to, in order to
fetch the initial setting of the name resolution flag.

Bug: 12353
Change-Id: I7ee97960216ff89a612c076edcfaad8e547a27d9
Reviewed-on: https://code.wireshark.org/review/15029
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-04-21 01:07:13 +00:00
Benjamin Coddington 3eaa183fea packet-nfs: fix offset calculation for fs_layout_type
Change-Id: I4d0176938f977caffc09a96c44e081dbe7a0154c
Reviewed-on: https://code.wireshark.org/review/15014
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
2016-04-20 21:36:30 +00:00
Benjamin Coddington 287aacf06a packet-nfs: fix layout_blksize label
Change-Id: I81c61b9e04bc787ce2afb90db2c83a37d4f5fd44
Reviewed-on: https://code.wireshark.org/review/15015
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
2016-04-20 21:36:22 +00:00
Dario Lombardo 07e270124e wmem: add foreach function to wmem_list.
Makes wmem_list more similar to glib lists.

Change-Id: Ifadf0627791a72c4118a14f205aa1a7189894d27
Reviewed-on: https://code.wireshark.org/review/15019
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-20 21:11:49 +00:00
Martin Mathieson d37734256c Kafka: several minor improvements
Use a range preference for TCP ports rather than single value.
Show interesting values in tree roots and/or the Info column.
Use common functions to dissect some protocol fields.

Change-Id: I9f5ca2565f47fc84d9c82a31511fae813542482e
Reviewed-on: https://code.wireshark.org/review/14949
Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com>
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2016-04-20 20:16:22 +00:00
AndersBroman 9921308df2 Put the correct path for "epan/dissectors/asn1/Custom.m4"
Change-Id: I98d333f2898d224d4e69e4ad87ae574d68dda048
Reviewed-on: https://code.wireshark.org/review/15022
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-20 16:47:17 +00:00
AndersBroman 46d11dad09 Fix a typo causing pixbuf-csource.c not to be built if GDK_GRERESOURCE
does not exist.

Change-Id: Ic6bc15d282f016965ef0da4e7574ef3a6080a6f8
Reviewed-on: https://code.wireshark.org/review/15013
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-20 10:31:45 +00:00
Dario Lombardo c33274dafa wtap: fix leak in optionblock management.
Found by valgrind:

==14298==    at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==14298==    by 0xA66C6AE: g_realloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0)
==14298==    by 0xA63BB32: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0)
==14298==    by 0xA63BEB7: g_array_append_vals (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0)
==14298==    by 0xA193252: wtap_optionblock_add_option (wtap_opttypes.c:352)
==14298==    by 0xA19361C: shb_create (wtap_opttypes.c:607)
==14298==    by 0xA192F96: wtap_optionblock_create (wtap_opttypes.c:126)
==14298==    by 0xA168784: wtap_open_offline (file_access.c:824)
==14298==    by 0x11D47C: cf_open (tshark.c:4194)
==14298==    by 0x117852: main (tshark.c:2183)

et al.

Change-Id: Ic16595ed3c12b9ed6c2813852ceb594c29ece929
Reviewed-on: https://code.wireshark.org/review/15004
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Evan Huus <eapache@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-04-19 22:59:56 +00:00
Alexis La Goutte 45a4ec8ae8 TCP: fix was marked unused but was used [-Werror,-Wused-but-marked-unused]
Change-Id: I8b78f1731ce01c3aec7fe7db310fed14984a5d53
Reviewed-on: https://code.wireshark.org/review/15001
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-19 17:21:49 +00:00
Alexis La Goutte 36eb2c9d3b INAP: fix indent (using 2 spaces)
Change-Id: I0cd96bcabf27ca93f0a84f880bfa1909e560f2da
Reviewed-on: https://code.wireshark.org/review/15006
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-19 17:21:04 +00:00
Alexis La Goutte 5cc290b8ae gprscdr: fix indent (use 2 spaces) and modelines
Change-Id: Ic4ad431c86304aaeb931291c83debbd90ab9ce2a
Reviewed-on: https://code.wireshark.org/review/15007
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-19 17:20:16 +00:00
hsluoyz bd62382b8f Remove "AirPcap" string for 802.11 medium on Windows because this medium can be provided by Npcap as well
Change-Id: Ib7baca247a407101f44c5b610903f4a1293f9119
Reviewed-on: https://code.wireshark.org/review/15003
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-04-19 16:36:18 +00:00
Pascal Quantin c9c3162ef3 iWARP MPA: properly handle MPA PDU length with padding
Bug: 12348
Change-Id: I2ed5fcce34bbdb13329ca72012f92adb641f56c6
Reviewed-on: https://code.wireshark.org/review/15005
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
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-04-19 16:28:35 +00:00