Commit Graph

49194 Commits

Author SHA1 Message Date
Pascal Quantin a56818ad87 Add an option (off by default) to force decoding of unknown USB control data as MBIM
svn path=/trunk/; revision=52461
2013-10-09 09:53:48 +00:00
Gerald Combs de8242ef36 Fix a comment.
svn path=/trunk/; revision=52460
2013-10-09 00:03:14 +00:00
Gerald Combs f54c08ed35 Add some QT_DIR checks.
svn path=/trunk/; revision=52459
2013-10-08 23:45:26 +00:00
Evan Huus 74501b2874 Hacky fix for https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9248
Just break out of the loop if offset doesn't go up.

There's almost certainly a better fix - the dissector is weird, and I'm not sure
if all the _length_remaining() checks are important or legacy, and what affect
they have on this issue.

At the very least this will pacify the fuzzbots until somebody has time to
figure it out properly.

svn path=/trunk/; revision=52458
2013-10-08 23:16:53 +00:00
Evan Huus d95d8d7851 Replace a strbuf with a much simpler strdup_printf since it was in fact only
modified in one place. Much reduces memory usage, and makes it clear that
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9248 is an infinite loop not
a memory problem.

svn path=/trunk/; revision=52457
2013-10-08 23:05:29 +00:00
Gerald Combs b3c844fa64 Add an initial Qt configuration and makefile targets.
svn path=/trunk/; revision=52456
2013-10-08 23:03:56 +00:00
Evan Huus 69da562c83 Don't try and construct an OID string if the len is zero. Fixes
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9246

svn path=/trunk/; revision=52455
2013-10-08 21:12:06 +00:00
Jörg Mayer 0863791253 Try to set PATH on Windows to all required dlls/libs to allow
running the executables from the build tree without installation.
It doesn't really work yet but the troubleshooting has to wait
until either I've gotten some sleep or someone else fixes it.

svn path=/trunk/; revision=52454
2013-10-08 20:41:57 +00:00
Gerald Combs 69473b4645 Use a plain package name even if we're building with GTK3. Hopefully
we're beyond the "experimental" stage now.

svn path=/trunk/; revision=52453
2013-10-08 20:21:36 +00:00
Gerald Combs b505bb7db6 Add notes about Qt, wmem, and bug 9242.
svn path=/trunk/; revision=52452
2013-10-08 18:25:10 +00:00
Anders Broman 5b3f870236 Add 3GPP AVP 533 - 537
svn path=/trunk/; revision=52451
2013-10-08 18:17:45 +00:00
Martin Mathieson 795dbb7032 Separate state struct into separate config and running_state structs. Also, mod startOffset when working out if short cycle onDuration should be started
svn path=/trunk/; revision=52450
2013-10-08 17:13:34 +00:00
Evan Huus 2553de177d From Ed Beroset via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9245
Fix test suite so that it doesn't attempt to use color if ncurses is not
installed.  This came up when I attempted to use the test suite under Windows
with cygwin installed but not ncurses.  The result is not entirely broken but
the error messages saying that "tput is not a valid command" make the menus and
results difficult to read.

svn path=/trunk/; revision=52449
2013-10-08 15:09:59 +00:00
Evan Huus 54c558fdfc Reorganize handling of incomplete fragments slightly. The logic hasn't changed
much, but I think this way's a little clearer, and it made it much easier to
figure out where the memory leak was.

Fixes the leaks from https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9243

svn path=/trunk/; revision=52448
2013-10-08 15:05:45 +00:00
Martin Kaiser 8a9e9de7bf mpeg pes private data is 16 bytes long, see iso 13818-1
svn path=/trunk/; revision=52447
2013-10-08 11:23:22 +00:00
Anders Broman c75a0a639b Add information about the IANA assigned UDP port.
svn path=/trunk/; revision=52446
2013-10-08 06:10:26 +00:00
Evan Huus 56d8797c9e Don't try and fetch the repeat value of slot 0, since it makes us underflow the
array we're accessing.

Fixes the uninitialized value errors in
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9243

svn path=/trunk/; revision=52445
2013-10-08 01:09:51 +00:00
Martin Mathieson 7c507318b8 Starting to debug DRX support
svn path=/trunk/; revision=52443
2013-10-07 21:57:07 +00:00
Gerald Combs 9f45bac313 Try to fix building the GTK flavor OS X app.
svn path=/trunk/; revision=52442
2013-10-07 19:37:22 +00:00
Jeff Morriss df1b8d3d96 Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9209 :
Debian still uses XPMs for their menu system[1] so distribute wsicon32.xpm in
the source tarball again (reverting part of r48565).  This is the icon that
debian/wireshark.menu refers to.

[1] http://lintian.debian.org/tags/menu-icon-not-in-xpm-format.html

svn path=/trunk/; revision=52441
2013-10-07 19:06:39 +00:00
Anders Broman 67e98ca737 From Erik Hugne:
tYN flag in named messages

Named messages are both used for connectionless
messaging and connection setup requests. A SYN
flag is now represented by the previously reserved
bit 18 in word 0 to differentiate named messages from
connection requests.

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

svn path=/trunk/; revision=52440
2013-10-07 18:32:48 +00:00
Anders Broman 88130d4828 From Erik Hugne:
tipc: update discovery protocol header according to spec

Dissection of word 1 in the TIPC ndisc protocol header
is wrong. The field called "Broadcast ack no" should
be "Node Signature" (16 bits wide).
"Requested Links" is also wrong. This should actually be
5 bits reserved, followed by a 8 bit "Minor protocol version"
field

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

svn path=/trunk/; revision=52439
2013-10-07 18:29:57 +00:00
Evan Huus ced66131ab From Michal Labedzki via
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9232

Use wmem_strbuf instead of manual string management in btsdp. Fixes fuzz
failure.

From me: minor tweak to make the patch apply to current trunk.

svn path=/trunk/; revision=52438
2013-10-07 16:34:00 +00:00
Martin Kaiser daba11a478 dissect mpeg registration descriptor
svn path=/trunk/; revision=52437
2013-10-07 15:22:08 +00:00
Pascal Quantin f9da278d6c MBIM data is transferred over CDC-Data interface class. Remove useless code.
svn path=/trunk/; revision=52436
2013-10-07 12:16:30 +00:00
Pascal Quantin 65f5c9a609 Dissect MBIM traffic over USB bulk
svn path=/trunk/; revision=52435
2013-10-07 10:15:04 +00:00
Pascal Quantin f02d2f8705 Update function name in debug info
svn path=/trunk/; revision=52434
2013-10-07 08:14:15 +00:00
Anders Broman 1394b21b88 Try to fix Bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9227 "Fix build for VS 2012 (MSVC_VARIANT==MSVC2012EE)"
svn path=/trunk/; revision=52433
2013-10-07 04:49:44 +00:00
Jörg Mayer 6013cbd4f5 Try to get gtk3 detection working via pkg-config
(not yet working).

svn path=/trunk/; revision=52432
2013-10-07 00:25:43 +00:00
Jörg Mayer 05908dea85 NEED_STRPTIME_H needs to be detected properly for windows.
Set it manually for now.

svn path=/trunk/; revision=52431
2013-10-07 00:21:23 +00:00
Evan Huus 0777f96c63 Another path and ordering tweak.
svn path=/trunk/; revision=52430
2013-10-06 23:39:16 +00:00
Jörg Mayer 84aebfb9dd Small update wrt the Windows build.
svn path=/trunk/; revision=52429
2013-10-06 23:35:39 +00:00
Evan Huus 087c885c66 More tweaking of test suite path variables, trying to make everything play
nicely on Windows and Linux both.

svn path=/trunk/; revision=52428
2013-10-06 23:29:59 +00:00
Jörg Mayer 0c25744c67 The code (at least) in dumpcap assumes that PCAP_CREATE is not
available on Windows - but we detect it in winpcap.

With this change dumpcap compiles and links


svn path=/trunk/; revision=52427
2013-10-06 22:17:24 +00:00
Jörg Mayer f625f54e3f Remove an uncommented line: The file is now part of wsutil
svn path=/trunk/; revision=52426
2013-10-06 22:15:38 +00:00
Jörg Mayer 2e59bc7c89 Use the correct syntax for the shell
svn path=/trunk/; revision=52425
2013-10-06 22:14:37 +00:00
Jörg Mayer f016e8c0a4 Libwireshark now links on windows with cmake
svn path=/trunk/; revision=52424
2013-10-06 21:25:44 +00:00
Pascal Quantin e5d29e2bd4 Add support for relative OID to PER dissector
svn path=/trunk/; revision=52423
2013-10-06 21:23:39 +00:00
Jörg Mayer 30f8fb14df Undo r52382 for this file: We use a different solution on Windows
svn path=/trunk/; revision=52422
2013-10-06 21:07:58 +00:00
Jörg Mayer 32efaf8ac9 Add $Id$
svn path=/trunk/; revision=52421
2013-10-06 21:05:47 +00:00
Pascal Quantin 16333c062d From Ed Beroset via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9192 :
Cleanup of relative and absolute OID decoding in packet-ber.c

svn path=/trunk/; revision=52420
2013-10-06 20:59:05 +00:00
Jörg Mayer 0f8133c3f0 More copying of config.h.win32 stuff into cmake
svn path=/trunk/; revision=52419
2013-10-06 20:51:13 +00:00
Jörg Mayer 88eb04035c Fix a typo
svn path=/trunk/; revision=52418
2013-10-06 20:32:56 +00:00
Evan Huus 13ae682c75 Fix nameres test suite cleanup after recent changes.
svn path=/trunk/; revision=52417
2013-10-06 20:30:12 +00:00
Jörg Mayer c73bbc6150 Make FindGTK3 work again
svn path=/trunk/; revision=52416
2013-10-06 19:58:18 +00:00
Evan Huus 00c8690599 Ignore g711.c it's under some weird Sun license but appears to be fully
GPL-compatible as far as I can tell (not a lawyer).

svn path=/trunk/; revision=52415
2013-10-06 19:07:30 +00:00
Gilbert Ramirez 5dfd0adb1f Add license text to dftestlib files, and point to the
capture files that someone renamed from *.cap to *.pcap.

svn path=/trunk/; revision=52414
2013-10-06 19:05:31 +00:00
Evan Huus 004c706715 Remove packet-vj.c as it does not appear to be under a license we can use.
svn path=/trunk/; revision=52413
2013-10-06 19:04:10 +00:00
Evan Huus 62c230c7b1 From Peter Wu via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9174
Reorg more of the test variables, still separating source and test directories.
More minor fixes from me.

svn path=/trunk/; revision=52412
2013-10-06 18:57:01 +00:00
Jörg Mayer 7888bec0bc Missed this part of Grahams patch.
svn path=/trunk/; revision=52411
2013-10-06 18:19:58 +00:00