aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-08-09Don't use DISSECTOR_ASSERT() to check a packet's content. Fixes bugguy1-6/+18
3827. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29339 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-08Check TLV lengths before we try to add them to the tree. Fixes bug 3824.gerald1-11/+25
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29338 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-08From Bahaa Naamneh via Bug 3538:krj1-1/+4
This patch ensures that the filter autocompletion code handles protocols (radius and wimaxasncp) which uses delayed initialisation of protocols fields. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29337 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-08Make sure that we pass on the same set of parameters to asn2wrs.py on ↵krj2-7/+8
Unix/Windows. This fix ensures that the generated copyright headers are identical on both platforms. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3658 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29336 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-08Pass on WinPcap/MSVC redistributable executables to the WiresharkPortable ↵krj1-2/+2
launcher and not the extractor. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3547. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29335 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-08From Ivan Sy:jake1-0/+3
Fixed IPv6 malformed packet when ip6_nxt (Next Header) is equal to "59". as per section 4.7 RFC 2460. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29334 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-08Note that the new behavior matches what Wireshark does.guy1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29333 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-08Move one comment before all of the code to which it refers.guy1-16/+34
Update another comment with information from the corresponding comment in tshark.c Move some code so that it's run only if its result is used. Add an additional comment about logging on UN*X. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29332 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-08If we have a format error, don't try adding something to thegerald2-13/+19
tree. Fixes bug 3822. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29331 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-07fuzz-test: Fix/change WIRESHARK_ABORT_ON_DISSECTOR_BUG handling:wmeier1-2/+5
1. If enabled: the variable must be exported to the env to take effect; 2. Upon reflection: disable this feature: tshark has been changed to output WARNING messages to stderr as a default; This means that DISSECTOR_BUGs and failed DISSECTOR_ASSERTs which cause WARNING log level messages will thus be output to stderr and thus will be detected by the fuzz-test. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29330 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-07From Matt P via bug 3774:gerald1-14/+30
Patch utilizes techniques incorporated in the packet-ieee8023.c dissect_802_3() routine to dynamically calculate the remaining payload length. This is then compared to the length included in the CCSDS header. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29329 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-07tshark: console_log_level preference now controls which log msgs are sent to ↵wmeier1-6/+41
stderr; Note: This is a behavior change: Given the default value for the console_log_level preference tshark will now show ERROR, CRITICAL and WARNING level log messages. Prior to this change tshark was hardwired to show only ERROR and CRITICAL level messages. Time will tell whether this change results in too much noise in tshark output. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29328 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-07- Add an AC macro to test linker flags.jmayer2-0/+43
- Test whether the linker supports --as-needed and if so, adds it to LDFLAGS git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29327 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-07* Tue May 26 2009 cmorve69@yahoo.esjmayer2-2/+4
- made it compile with --as-needed This patch was taken from the opensuse wireshark.spec file. No thanks go to the author and the package maintainers of this package for not sending this upstream - it would have made it into 1.2.0. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29326 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-07- Add rfc number comments on not-yet-decoded optionsjmayer1-17/+24
- Decode autoconfigure option git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29325 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-07Back out r29323. The non fully qualified path seems to work for everyone ↵krj1-1/+1
else so don't mess with it. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29324 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-07Use fully qualified path to bashkrj1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29323 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-07Free frame data slice on file resetkrj1-0/+2
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3813 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29322 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-07Clean up the last two DIRTY_DISSECTOR_SRC entries.gerald4-34/+24
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29321 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-06Fix some individual cases of 'if (unsigned) < 0'wmeier4-10/+10
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29320 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-06'if (curr_len <= 0)' won't work as desired when curr_len is declared as ↵wmeier1-20/+28
unsigned. The fix: change to 'if ((signed)curr_len <= 0)'. This is a bit of a hack but I think it works. See the comment in this file (packet-gsm_a_common.h). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29319 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-06Those items are 32 bits or longer, so the cast should be safe; add anguy1-2/+2
additional cast in the hopes that they squelch "dereferencing type-punned pointer" warnings. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29318 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-06packet-sctp.c seems to be clean (at least it is on Mac OS X).tuexen1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29317 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-06Added new_packet_list_set_font() and initialize fonts when usingstig4-4/+19
new packet list. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29316 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-06Get it compiling when HAVE_LIBGCRYPT is not defined.tuexen1-2/+17
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29315 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-06Fix some indentation and spacingwmeier1-127/+127
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29314 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-06Fix compilation warnings in a few dissectors and try moving them to thegerald5-14/+14
"clean" list. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29313 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-06Prevent possible (benign ?) array references with an array index of -1.wmeier1-4/+8
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29312 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-06Remove inadvertantly committed comments re issue yet to be fixed ...wmeier1-4/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29311 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-06Register ett[] subtree array only once.wmeier1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29310 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-06Register ett[] subtree array only once.wmeier1-8/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29309 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-05Convert a GString to an ep_strbuf_t (and squelch a static analysisgerald1-8/+6
warning in the process). Remove an unused variable. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29308 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-05From Gerasimos Dimitriadis:jake1-6/+17
Fixes/enhances the decoding of the Mobile Identity IE for type of identity "TMGI and optional MBMS Session Identity". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29307 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-05Fix for bug 3811:jake1-0/+6
Add missing shorthand application/vnd.ms-sync besides application/vnd.ms-sync.wbxml. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29306 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-05From Ivan Sy:jake1-1/+21
Add support for Support for DHCID RR (RFC 4701). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29305 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-05Squelch a couple of Clang Static Analyzer warnings.gerald2-7/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29304 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-05Show power headroom report inside its own subtree.martinm1-9/+37
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29303 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-05Fix for bug 3806:jake1-5/+10
Add presentation of Block Ack Bitmap. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29302 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-05Add a couple of pointer checks.gerald2-2/+10
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29301 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-05Fix typo.guy1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29300 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-04Put the initializers for the elements of value_string arrays into curlyguy3-11/+11
brackets, so the API checks for non-terminated value_string arrays will not falsely think the arrays are non-terminated. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29299 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-04Optimize empty strings to NULL pointers.jake8-564/+564
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29298 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-04Fix benign double subtree registration of an ett_... variable.wmeier1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29297 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-04Minor changes:wmeier35-8064/+7858
- Move proto_register...() to the end of the file as per convention; - Move ett[] to be local to proto_register...(); - "if (...==-1)" not req'd in proto_register...(); - #include <moduleinfo.h> not req'd; - Remove unneeded forward declarations. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29296 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-04Initialize several ett_... variables to -1wmeier3-6/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29295 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-04Init ett_... variables to -1wmeier6-14/+21
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29294 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-04Remove duplicate entry from ett[]wmeier2-2/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29293 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-04Clean up white space a bit - use 2-space indenting.guy1-275/+265
Put a bunch of code that does nothing unless data_val is non-null inside "if (data_val)", and get rid of the individual tests. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29292 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-04Miscellaneous cleanups.gerald1-11/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29291 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-04Show number of predefined bytes in info column.martinm1-0/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29290 f5534014-38df-0310-8fa8-9805f1628bb7