aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2011-04-14Check for pkg-config's path as well, just in case it's installedGuy Harris1-17/+94
somewhere other than GLib (or if GLib isn't installed at all; that configure script will fail in that case, but that's better than failing because PKG_CHECK_MODULES wasn't defined, as that's a confusing failure mode). svn path=/trunk/; revision=36635
2011-04-14Mention that tshark can now display ICMP and ICMPv6 service response times.Chris Maynard1-1/+1
svn path=/trunk/; revision=36634
2011-04-14Via bug5774, Andrew Feren requested V9TEMPLATE_MAX_FIELDS be increased to 100.Chris Maynard1-2/+2
svn path=/trunk/; revision=36633
2011-04-13From Solomon Peachy:Fix "Missing indication that we recognize the Radiotap ↵Bill Meier1-0/+3
MCS header field." https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5827 The radiotap header has a pile of optional fields, and uses a bitmask field to indicate which fields are present. Wireshark marks the fields it decodes, and then decodes the payload. The recently-added MCS field is decoded now, but the bit is not displayed as recognized. This was presumably an oversight, as this bit is recognized and the field decoded properly. svn path=/trunk/; revision=36632
2011-04-13Don't assign to a proto_item * if the value won't be used: Coverity 1054-1056.Bill Meier1-5/+4
svn path=/trunk/; revision=36631
2011-04-13Comment out code to create a subtree since it's (currently ?) unused: ↵Bill Meier1-21/+19
Coverity 1039; Don't assign to a proto_item * if the value won't be used: Coverity 1040 & 1041. Remove some unneede #includes; Do some minor indentation & whitespace cleanup. svn path=/trunk/; revision=36630
2011-04-13Allow TCP segment data to be filterable via "tcp.data".Chris Maynard1-10/+15
svn path=/trunk/; revision=36629
2011-04-13Update to reflect recent changes in epan/strutil.[ch].Gerald Combs1-2/+2
svn path=/trunk/; revision=36628
2011-04-13Change ws_strdup_escape_underscore() function to be more general, byStephen Fisher3-21/+23
accepting any character as the escaped character. Change existing uses to use '_' for the underscore escaping. svn path=/trunk/; revision=36627
2011-04-13capinfos and editcap need PYTHON_DIR when we have Python enabled.Gerald Combs1-2/+2
svn path=/trunk/; revision=36626
2011-04-13Add Tag Quiet (40) and IBSS DFS (41)Alexis La Goutte1-39/+172
Enhance Tag ERP Information (42), TS Delay (43), TCLAS Processing (44) * Replace proto_tree_add_uint*/boolean/text by proto_tree_add_item * use ENC_* macro for encoding svn path=/trunk/; revision=36625
2011-04-13Rollback r36614 and change dissect_SMUX_PDUs_PDU() to use previouslyStephen Fisher2-6/+8
unused smux_tree instead of tree. Per suggestion from Stig on -dev. svn path=/trunk/; revision=36624
2011-04-13Ok let's try GTK 2.22 on Win64 too - fix a typo.Anders Broman1-1/+1
svn path=/trunk/; revision=36623
2011-04-13Based on https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5821#c2 :Jeff Morriss2-7/+68
Move the setting of debug environment variables out of the while loop. Export MALLOC_OPTIONS=AJ to increase memory allocation debug on FreeBSD (and others). Export a number of environment variables that MacOS looks at. (I don't have easy access to either of these OS so this has not been tested.) Add a comments for each entry explaining which OS uses it and what it does. svn path=/trunk/; revision=36622
2011-04-13+ Fix bug listed in CID 1182:Jörg Mayer1-165/+164
Move test out of switch statement. Remove unused variable. Remove trailing whitespace. Whitespace in that file is a mess. svn path=/trunk/; revision=36621
2011-04-13Ok let's try GTK 2.22 on Win64 too.Anders Broman1-4/+4
svn path=/trunk/; revision=36620
2011-04-13Try out GTK 2.22Anders Broman1-4/+4
svn path=/trunk/; revision=36619
2011-04-13Restore defaultsAnders Broman1-1/+1
svn path=/trunk/; revision=36618
2011-04-13Cast away size_t warnings on win64.Anders Broman1-4/+4
svn path=/trunk/; revision=36617
2011-04-13Build win64 with a modified zlib (google is your friend).Anders Broman3-6/+6
http://www.apachehaus.com/forum/index.php?action=printpage;topic=143.0 First problem: ZLIB build must be fixed for x64, otherwise there will be one unresolved external symbol later. Quick fix is to open build\win32\build_zlib.bat and insert this at line 51: set ASM_OPTS=AS=ml64 LOC="-DASMV -DASMINF" OBJA="inffasx64.obj gvmat64.obj inffas8664.obj" (info found in zlib\win32\Makefile.msc) and then open zlib\contrib\masmx64\inffas8664.c and prepend "../../" to four includes at the beginning. svn path=/trunk/; revision=36616
2011-04-12Fix Coverity 524: NEGATIVE_RETURNSStephen Fisher2-4/+4
Coverity sees that two calls to tvb_length_remaining() with an offset of 0 may return -1 (for an "out of bounds" condition), which would lead to an assignment of -1 to an unsigned variable and then passing it to functions further down that cannot accept negative values. Use tvb_ensure_length_remaining() to throw an exception in a case of out of bounds access (though unlikely with an offset of 0) instead of tvb_length_remaining(), which would return -1. svn path=/trunk/; revision=36615
2011-04-12Fix Coverity 1047: UNUSED_VALUE in dissect_smuxStephen Fisher2-6/+4
svn path=/trunk/; revision=36614
2011-04-12Use the new label(It will still break on zlib as zlib 1.2.5 isn't used yet).Anders Broman1-1/+1
svn path=/trunk/; revision=36611
2011-04-12Cleanup ProcessError().Stig Bjørlykke1-11/+6
Coverity 865. svn path=/trunk/; revision=36610
2011-04-12Regenerate more ASN.1 dissectors for Coverity.Gerald Combs6-120/+120
svn path=/trunk/; revision=36609
2011-04-12Add x509if_frame_end() which is passed to register_frame_end_routine()Gerald Combs4-62/+106
and which resets our global variables. Remove a boolean which was used to track a char *; just check if the pointer is NULL instead. Fixes bugs 5754 and 5793, hopefully without breaking anything. svn path=/trunk/; revision=36608
2011-04-12Put back in one of the includes removed in r36606: ctype.h for isdigit()Stephen Fisher1-0/+2
function. svn path=/trunk/; revision=36607
2011-04-12Don't assign to a proto_item * if the value won't be used: Coverity 1034;Bill Meier1-32/+28
Comment out two calls to tvb_)get_ephemeral_string since the result is never used: Coverity 1035; Also: Remove some unneeded #includes; Use consistent indentation. svn path=/trunk/; revision=36606
2011-04-12Added a FALLTHRU comment to avoid a missing break warning.Stig Bjørlykke1-0/+1
Coverity 437. svn path=/trunk/; revision=36605
2011-04-12Don't assign to a variable if the value won't be used: Coverity 1002 & 1003.Bill Meier1-3/+3
svn path=/trunk/; revision=36604
2011-04-12Fix two instances of apparent use of incorrect tree: Coverity 982 & 983;Bill Meier1-1423/+1421
Remove an uneeded line of code: Coverity 984; #include <string.h> not needed; Use consistent indentation & do other whitespace cleanup. svn path=/trunk/; revision=36603
2011-04-12Removed some unused variables.Stig Bjørlykke2-11/+9
svn path=/trunk/; revision=36602
2011-04-12Don't bother to strcpy() an empty string; just set buf[0] = '\0': Coverity 626Chris Maynard1-1/+1
svn path=/trunk/; revision=36601
2011-04-12Use g_snprintf instead of sprintf: (Part of) Covertiy 665.Chris Maynard1-1/+1
svn path=/trunk/; revision=36600
2011-04-12#if 0 out some unused variables; we may make use of them later, but thisGuy Harris1-0/+16
keeps GCC 4.6.0 from complaining about them and failing to build with -Werror, and may also squelch some Coverity (and other static analyzer) complaints. svn path=/trunk/; revision=36599
2011-04-12Use g_strlcat instead of strcat: Coverity 632.Chris Maynard1-8/+8
svn path=/trunk/; revision=36598
2011-04-12Use g_snprintf instead of sprintf and g_strlcat instead of strcat: Coverity 698Chris Maynard1-20/+20
svn path=/trunk/; revision=36597
2011-04-12Fix nasm pathname: nasm-2.09-08\nasm.exe ==> nasm-2.09.08\nasm.exeBill Meier1-1/+1
svn path=/trunk/; revision=36596
2011-04-12Use g_snprintf instead of sprintf: Coverity 622.Chris Maynard1-4/+4
Use g_strlcpy instead of strcpy: Coverity 632. svn path=/trunk/; revision=36595
2011-04-12Don't assign to a proto_item * if the value won't be used: Coverity 978;Bill Meier1-29/+32
Use what appears to be the intended correct tree for various proto_add...: Coverity 979; Minor indentation cleanup. svn path=/trunk/; revision=36594
2011-04-12Now that wtap_read() checks for delayed errors on EOF, there's no needGuy Harris4-56/+16
to check for it on close. svn path=/trunk/; revision=36593
2011-04-12Comment out some (currently ?) unused code: Coverity 969-971;Bill Meier1-1550/+1550
Fix up whitespace & indentation (e.g., "4 space tabs"). svn path=/trunk/; revision=36592
2011-04-12From Jakub Zawadski: some small fixes.Guy Harris1-6/+5
From me: small indentation fix (use spaces rather than tabs in all lines in that routine). svn path=/trunk/; revision=36591
2011-04-12Update and expand some comments.Guy Harris1-35/+59
In the end-of-stream code, when we're checking the CRC and length, don't check the CRC or length if we failed to read them, and don't check the length if the CRC is bad. We define O_BINARY as 0 on UN*X in <wsutil/file_util.h>, so we don't need to avoid using it on UN*X. In file_gets(), check for delayed errors. svn path=/trunk/; revision=36590
2011-04-12Don't assign to a proto_item * if the value won't be used: Coverity 954 & 955;Bill Meier1-14/+9
Remove some unneeded #includes; Minor whitespace cleanup. svn path=/trunk/; revision=36589
2011-04-12Don't assign to a proto_item * if the value won't be used: Coverity 933;Bill Meier1-4/+3
Fix apparent use of incorrect tree: Coverity 934. svn path=/trunk/; revision=36588
2011-04-12Don't assign to a proto_item * if the value won't be used: Coverity 916-918;Bill Meier1-101/+100
Also: use consistent indentation. svn path=/trunk/; revision=36587
2011-04-12Build with zlib-1.2.5 for win32Anders Broman3-7/+17
zlib for GTK hasd this comment: /* LFS conventions have no meaning on Windows. Looking for feature * macros like _LARGEFILE64_SOURCE or _FILE_OFFSET_BITS on Windows is * wrong. So make sure any such macros misguidedly defined by the * user have no effect. Windows has large file support, but the * official zlib DLL has not been built to provide the 64-bit offset * APIs, sigh. So we have just patched out the 64-bit offset API * from this header file. */ svn path=/trunk/; revision=36586
2011-04-12Fix a few cases of proto_item_add_subtree() using the wrong tree: Coverity ↵Bill Meier1-29/+29
916-918; Also: Fix some indentation: e.g., "4 space tabs". svn path=/trunk/; revision=36585
2011-04-12A parameter isn't used if ZLIB isn't enabled.Martin Mathieson1-1/+1
svn path=/trunk/; revision=36584