aboutsummaryrefslogtreecommitdiffstats
path: root/epan
AgeCommit message (Collapse)AuthorFilesLines
2013-10-31Increase PROTO_PRE_ALLOC_HF_FIELDS_MEMAnders Broman1-1/+1
svn path=/trunk/; revision=53009
2013-10-31Make declarations consistent, fix typos, remove tabs, use consistent ↵Chris Maynard1-136/+189
indentation, wrap text at column 80, add modelines. svn path=/trunk/; revision=53004
2013-10-31USB/PN532: Fix dissector to use new dissector *data instead of ↵Michael Mann3-40/+67
private_data. Bug 9333 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9333) From Michal Labedzki svn path=/trunk/; revision=53003
2013-10-31Bluetooth: SDP: Recognize attributes by record handle or by UUIDs in ↵Michael Mann1-311/+595
request. Bug 9327 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9327) From Michal Labedzki svn path=/trunk/; revision=53002
2013-10-31sb3_task_id_t is not used in any existing dissector and can't be passed to ↵Michael Mann1-14/+14
any other (third-party) dissectors, so don't have it pollute pinfo->private_data. Also, call_dissector shouldn't be under a tree. svn path=/trunk/; revision=53001
2013-10-31Test was the wrong way aroundMartin Mathieson1-1/+1
svn path=/trunk/; revision=53000
2013-10-31From Roland Knall via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9345Evan Huus1-28/+98
openSAFETY: Changes for better dissection of additional SADR and SN Fail messages svn path=/trunk/; revision=52998
2013-10-31Add a data parameter to call_ber_oid_callback to be able to pass data to ↵Michael Mann29-102/+102
subdissectors found with dissector_try_string_new. The intention is to aid in the removal of pinfo->private_data use as well as static global variables in a dissector. For now, all calls to call_ber_oid_callback have the data parameter set to NULL. svn path=/trunk/; revision=52994
2013-10-30BAT has a Bouquet ID, no Service IDMartin Kaiser1-1/+1
svn path=/trunk/; revision=52987
2013-10-30add one more private data specifierMartin Kaiser1-3/+5
svn path=/trunk/; revision=52986
2013-10-30Remove an extraneous semicolon.Chris Maynard1-1/+1
svn path=/trunk/; revision=52985
2013-10-30Initialise current_security to NULL, to avoid possibly using uninitialisedMartin Mathieson1-1/+1
svn path=/trunk/; revision=52983
2013-10-30Get rid of value_strings that appear to be a throwback to when ROHC appeared ↵Martin Mathieson1-38/+0
in this dissector svn path=/trunk/; revision=52982
2013-10-30Don't call RRC dissector if should be ciphered. Take care to allow ↵Martin Mathieson2-74/+73
SecurityModeComplete to be shown though (i.e. the next UL frame after security is configured) svn path=/trunk/; revision=52981
2013-10-30Allow string-based dissector tables to pass data between dissectors.Michael Mann2-0/+63
svn path=/trunk/; revision=52980
2013-10-30Replace some proto_tree_add_string_format with proto_tree_add_item +Evan Huus1-11/+19
proto_tree_set_text - the string was not the important part, the formatting was. We were passing the string directly from tvb_get_ptr, but this meant that if the packet didn't contain a null-terminator we would run off the end. Since the string comes straight from the packet, just let _add_item handle the length calculations etc efficiently, and set the display later. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9323 I'm a bit confused honestly why most of these are being set hidden after being added and formatted, but at least there are no memory errors anymore. svn path=/trunk/; revision=52979
2013-10-30Update the ASN.1 generated dissectors that were missed as part of the ↵Michael Mann2-6/+6
patches in bug 9344 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9344) svn path=/trunk/; revision=52978
2013-10-30When adding an entry to a dissector string table, take a copy of the patternEvan Huus1-3/+3
string (and pass g_free to g_hash_table_new_full to free it). This means callers don't have to worry about the scope of the memory they pass in, and fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9296 svn path=/trunk/; revision=52977
2013-10-29Fix proto.c:4498: warning: 'compare_filter_name' defined but not usedAnders Broman1-9/+0
svn path=/trunk/; revision=52975
2013-10-29Optimize proto_get_id_by_filter_name() by using the existing hastable for ↵Anders Broman1-10/+7
proto_filter_names. svn path=/trunk/; revision=52972
2013-10-29Mark an unused parameter as suchMartin Mathieson1-1/+1
svn path=/trunk/; revision=52971
2013-10-29if pointer==0, the section starts immediatelyMartin Kaiser1-2/+7
don't add an empty fragment to the list this should fix the asserts reported in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9325 and https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8352 svn path=/trunk/; revision=52969
2013-10-29separate function for dissecting the adaptation fieldMartin Kaiser1-171/+176
svn path=/trunk/; revision=52967
2013-10-29Revert r52905 and r52908: they're causing plenty of fuzz failures.Jeff Morriss1-7/+7
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9323 is tracking the fix. svn path=/trunk/; revision=52966
2013-10-29Remove no-longer-used parameter.Jeff Morriss1-6/+6
svn path=/trunk/; revision=52965
2013-10-29Pass T.38 data to subdissectors directly instead of using pinfo->private_data.Michael Mann2-32/+32
svn path=/trunk/; revision=52964
2013-10-29Remove use of pinfo->private_dataMichael Mann1-55/+42
svn path=/trunk/; revision=52963
2013-10-29Add casts to results of g_hash_table_lookup() callsMartin Mathieson1-2/+3
svn path=/trunk/; revision=52955
2013-10-29Show security config settings in each PDCP PDU. Don't call IP dissector for ↵Martin Mathieson1-11/+144
ciphered userplane frames. SRB messages are more complicated - need to keep track of SecurityModeRequest and SecurityModeResponse as they are not ciphered svn path=/trunk/; revision=52953
2013-10-29Adjust when dissect_diameter_avp loop is called to avoid access violations.Michael Mann1-9/+8
from Lukasz Markowski svn path=/trunk/; revision=52951
2013-10-29Whitespace fixes: Replace some tabs by spaces & etcBill Meier1-100/+100
svn path=/trunk/; revision=52950
2013-10-29From Marko Hrastovec via ↵Jeff Morriss1-6/+2
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9347 : Asterix dissector had two #if 0 ... #endif blocks because it obviously did not compile on some systems. Blocks were created because of mistyped variable names and variable not used warning/error. The errors were corrected. svn path=/trunk/; revision=52949
2013-10-29From didier gautheron: remove redundant or use faster col_xxx functionsBill Meier130-376/+320
- when the text parameter is constant col_add_str() and col_set_str() are equivalent but col_set_str() is faster. - same for replace col_append_fstr and col_append_str - remove col_clear() when it's redundant: + before a col_set/col_add if the dissector can't throw an exception. - replace col_append() after a col_clear() with faster col_add... or col_set https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9344 svn path=/trunk/; revision=52948
2013-10-29Add a cast to try to fix OSX buildbotMartin Mathieson1-1/+1
svn path=/trunk/; revision=52947
2013-10-29Pass security command details (integrity and ciphering algorithms) to PDCP ↵Martin Mathieson3-10/+99
(which doesn't yet do much with them) svn path=/trunk/; revision=52946
2013-10-29Revert part of 52896 and (for now) all of 52935. As Jeff pointed out,Gerald Combs1-43/+89
the PortableApps version relies on U3_-prefixed environment variables. svn path=/trunk/; revision=52941
2013-10-29Make it so out-of-tree builds (autofoo and cmake) have access to the variousJeff Morriss3-40/+25
data files (diameter/*, COPYING, manuf) when running *shark from the build directory. Do this by passing in the top-level source directory as a compile-time definition (unfortunately this has to be in the top-level Makefile too because some programs link directly with epan/filesystem.c). The plugins dir is no longer below the datafile directory but rather the progfile directory (if we have one). Handle the special case of AUTHORS-SHORT (a data file but a generated one) by checking the file name before building the path. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5664 svn path=/trunk/; revision=52940
2013-10-29Have GTPv2 pass its "instance ID" to "private extension" subdissectors ↵Michael Mann1-5/+1
rather than use pinfo->private_data. There are no "private extension" subdissectors in the Wireshark source, so I assume it's all done by third-party plugins. They must now update their dissectors to get the "instance ID" from the dissector data parameter. svn path=/trunk/; revision=52938
2013-10-28Remove some (but not all) U3 remnants.Gerald Combs1-89/+43
svn path=/trunk/; revision=52935
2013-10-28TABs -> spacesMartin Kaiser1-1216/+1202
add editor modelines svn path=/trunk/; revision=52934
2013-10-28FIX compiler warning:Bill Meier1-1/+0
packet-gtp.c: In function 'dissect_gtp_common': packet-gtp.c:7838: warning: unused variable 'pd_save' svn path=/trunk/; revision=52932
2013-10-28From Ishraq Ibne Ashraf: Tinkerforge protocol dissectorBill Meier3-0/+445
See: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9324 From me: 1. Move certain global vars to local storage in dissect_tfp_common() 2. Declare all remaining global vars as static; 3. Fix some bugs: - base58_encode() needed to be called before call to col_add_fstr() - display of UID string in tree was being truncated to 4 characters 4. Cleanup whitespace: use consistent indentation (tabs); remove trailing whitespace; 5. Add editor modelines svn path=/trunk/; revision=52931
2013-10-28Add an extra parameter to gtp_match_response() so pinfo->private_data ↵Michael Mann1-9/+3
doesn't need to be used. svn path=/trunk/; revision=52930
2013-10-28Fix the compilation.Michael Tüxen1-5/+3
I guess this is what is meant. Only compile tested... svn path=/trunk/; revision=52928
2013-10-28Add an if(tree) and tweek col_add_fstr().Anders Broman1-39/+45
svn path=/trunk/; revision=52927
2013-10-28make Pointer filterableMartin Kaiser1-2/+6
svn path=/trunk/; revision=52925
2013-10-28packed_analysis_data_t -> packet_analysis_data_tMartin Kaiser1-5/+5
svn path=/trunk/; revision=52924
2013-10-28correct typosMartin Kaiser1-2/+2
svn path=/trunk/; revision=52923
2013-10-28remove unnecessary return; linesMartin Kaiser1-6/+0
svn path=/trunk/; revision=52922
2013-10-28initialize tree variablesMartin Kaiser1-3/+3
svn path=/trunk/; revision=52920