summaryrefslogtreecommitdiff
path: root/epan
AgeCommit message (Collapse)AuthorFilesLines
2013-02-20Swallow up tvb_set_real_data_no_exceptions() into tvb_new_real_data() -Guy Harris1-10/+4
the only caller is tvb_new_real_data(). svn path=/trunk/; revision=47757
2013-02-20Reflect that tvb_new() is now an internal routine.Guy Harris1-2/+1
svn path=/trunk/; revision=47756
2013-02-20Improve a comment - what matters is that tvb_new_real_data() can throwGuy Harris1-4/+1
an exception, not how it happens to be implemented currently. svn path=/trunk/; revision=47755
2013-02-20Fix Coverity CID 984638: Unused pointer value.Chris Maynard1-1/+1
svn path=/trunk/; revision=47754
2013-02-20No more tvb_new(), so no more need for tvb_set_real_data() orGuy Harris2-46/+10
tvb_set_subset(); code should use tvb_new_real_data() and various tvb_new_subset routines. (Neither tvb_new() nor tvb_set_real_data() nor tvb_set_subset() were exported in libwireshark.def, nor were they used outside tvbuff.c; tvb_set_real_data() and tvb_set_subset() weren't even being used *inside* tvbuff.c.) svn path=/trunk/; revision=47753
2013-02-19Make tvb_new() an internal routine to epan/tvbuff.c; we export variousGuy Harris2-6/+1
routines to create new tvbuffs that do what dissectors need to do, and those are the only routines that should be used. svn path=/trunk/; revision=47752
2013-02-19How can I get a new tvbuff that starts at an offset within a givenGuy Harris41-91/+68
tvbuff and runs to the end of the tvbuff? Let me count the ways.... Replace a bunch of different ways of doing that (some incorrect, in that they're not properly handling tvbuffs where the captured and reported lengths are different) with tvb_new_subset_remaining(). svn path=/trunk/; revision=47751
2013-02-19Register the gui.update.interval preference.Gerald Combs1-0/+6
svn path=/trunk/; revision=47750
2013-02-19Enable automatic updates for Win64. Fix a copy/paste error.Gerald Combs1-1/+1
svn path=/trunk/; revision=47749
2013-02-19Add automatic software update checks for Win32 using WinSparkle. AddGerald Combs2-0/+28
preferences (currently hidden) to disable updates, set the update frequency, and set the update "channel" (stable vs development). Add a "Help" menu item to manually check for updates. svn path=/trunk/; revision=47748
2013-02-19Remove experiment with global codeAnders Broman1-34/+1
svn path=/trunk/; revision=47747
2013-02-19Add the remaining asn1 files "CODE global" not handled yet.Anders Broman1-10/+121
svn path=/trunk/; revision=47746
2013-02-19calc_checksum() should be passed the length of the block to beGuy Harris1-11/+42
checksummed, which is the length of the TPDU, not that length + 1. Calculate the TPDU length correctly - use tvb_reported_length_remaining(), not tvb_length_remaining() (we want the *actual* length, not the amount of captured data we have), and take the offset handed to the dissector routine into account. Don't take the length indicator into account for TPDUs with user data, as they run to the end of the lower-level packet containing the TPDU(s). The CLTP UD TPDU contains user data. Note that this dissects both COTP *and* CLTP (that's why it's "packet-ositp.c", not "packet-cotp.c"). Separate some groups of #includes with blank lines. svn path=/trunk/; revision=47745
2013-02-19According to wikipedia, the A6M was outdated by 1944. Let it rest in peace.Chris Maynard2-19/+15
svn path=/trunk/; revision=47744
2013-02-19Whitespace tweaks.Guy Harris1-5/+6
svn path=/trunk/; revision=47743
2013-02-19Don't call expert_add_info_format() from within an if (tree) {} block.Chris Maynard1-94/+93
Misc. whitespace changes, remove tabs, add modelines to match current scheme. svn path=/trunk/; revision=47742
2013-02-19Bugfix OSITP - Incorrect TP4 checksum calculation (ATN extended checksum) in ↵Michael Mann1-24/+31
case of multiple TPDU's per frame. Bug 8293 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8293) svn path=/trunk/; revision=47741
2013-02-18For each dynamic-payload hash table, keep a Boolean indicating whetherGuy Harris1-16/+36
it's been used in an rtp_set_address() or srtp_set_address() call and, if that Boolean is set, don't free the hash table; this fixes a case where the hash table was freed while it was in use. svn path=/trunk/; revision=47740
2013-02-18Use tcp_dissect_pdus for better dissection on TCP. Adjusted UDP dissection ↵Michael Mann1-149/+160
accordingly. Various cleanup to use proto_tree_add_item more often. svn path=/trunk/; revision=47739
2013-02-18Dissect more supplementarry servicesAnders Broman1-16/+1751
svn path=/trunk/; revision=47738
2013-02-18Enums aren't guaranteed to be able to hold a value that doesn't fit inGuy Harris1-1/+3
an int, so don't use enums for special values of the PLP length field. In addition, use G_GINT64_CONSTANT() to tag them as appropriate for a guint64. svn path=/trunk/; revision=47737
2013-02-18From Alex Gaertner via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8313Evan Huus1-19/+22
Misc. fixes to the SML dissector: - one more define added - removed data_handle (unused) - removed "check = tvb_get_guint8(tvb, temp_offset);" (value hasn't changed) - added PI_NOTE - CRC fixed, calculation now correct if CRC is transmitted as UINT8 From me: - clean up indentation - change modelines to actually match the indentation most commonly used svn path=/trunk/; revision=47736
2013-02-18Fix small typo in TPC Report IEAlexis La Goutte1-2/+2
svn path=/trunk/; revision=47734
2013-02-18Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-1/+1
svn path=/trunk/; revision=47733
2013-02-18From 802.11-2012.pdf Update Reason Code and Status Code fieldsAlexis La Goutte1-2/+36
svn path=/trunk/; revision=47732
2013-02-18Display Power Constraint in DEC (and fix a small typo)Alexis La Goutte1-2/+2
svn path=/trunk/; revision=47731
2013-02-18Fix for bug 8321:Jaap Keuter1-4/+9
Feed the tap before trying to dissect the payload. This prevents a malformed payload from blocking the tap, resulting in incorrect RTP statistics. svn path=/trunk/; revision=47729
2013-02-18Bugfix data combined via ssl_desegment_app_data not visible via "Follow SSL ↵Michael Mann1-0/+1
Stream" From Joe McEachern, bug 6434 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6434) svn path=/trunk/; revision=47725
2013-02-17Improve SSH state machine so IGNORED messages don't upset the dissection by ↵Michael Mann1-232/+162
throwing the "packet count" off. Bug 5064 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5064) svn path=/trunk/; revision=47723
2013-02-17Fix Coverity CID 981983: Unused pointer value.Chris Maynard1-268/+125
Additionally: 1) Remove check_col()'s 2) Don't call expert_add_info_format() from within an if (tree) {} block. 3) tvb_reported_length_remaining() can return -1; be sure to handle it. 4) Misc. whitespace changes. svn path=/trunk/; revision=47722
2013-02-17Remove C++ incompatibilities in c1222 dissector.Michael Mann2-24/+16
Also addresses an implicit cast in the epan/uat.h file Bug 8342 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8342) svn path=/trunk/; revision=47721
2013-02-17Update ITU-T E.212 to bulletin 1019 (01.I.2013)Pascal Quantin1-218/+398
svn path=/trunk/; revision=47720
2013-02-17Squelch some more warnings.Guy Harris1-2/+6
svn path=/trunk/; revision=47717
2013-02-17Squelch some warnings.Guy Harris1-73/+11
svn path=/trunk/; revision=47716
2013-02-17Support for SCU/SCP Role Selection and Asynchronous Operations Window ↵Michael Mann1-53/+377
Negotiation From Stefan Allers. Bug 8347 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8347) svn path=/trunk/; revision=47715
2013-02-17Try to fix merge problem.Anders Broman1-1593/+10
svn path=/trunk/; revision=47714
2013-02-17Add a preferense to the Q.932 dissector wether facility messages should be ↵Anders Broman4-14/+3234
dissected as QSIG or ETSI. Add the ISUP Supplementary services dissector. svn path=/trunk/; revision=47713
2013-02-17Bugfix DoS in CIMD dissector. Bug 8346 ↵Michael Mann1-3/+3
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8346) svn path=/trunk/; revision=47708
2013-02-17Only allow one packet to act as an SDP response. This should probably be ↵Michael Mann2-3/+4
caught at a higher layer (SIP), but the safety net should be there. Also, cleanup SIP "response error" range. Fixes crash in bug 8343 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8343) svn path=/trunk/; revision=47705
2013-02-17Use wmem memory to build most of the diameter hf and ett arrays.Evan Huus1-9/+10
Cleans up many valgrind errors, since we were losing our pointers to the arrays before shutdown. svn path=/trunk/; revision=47702
2013-02-17[Automatic manuf, services and enterprise-numbers update for 2013-02-17]Gerald Combs1-4/+116
svn path=/trunk/; revision=47701
2013-02-17From Alyssa Milburn via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8341Evan Huus1-11/+11
With small additional changes by me Make many of the length and offset fields in the websocket dissector unsigned. This fixes a case where we could attempt to malloc (unsigned)-1 bytes of memory. Also fix one small copy-paste string typo. svn path=/trunk/; revision=47700
2013-02-16Add missing G_GUINT64_CONSTANT for 32-bit platforms.Evan Huus1-2/+2
svn path=/trunk/; revision=47696
2013-02-16From Alex Gaertner via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8313Evan Huus3-0/+3035
New dissector for the SML protocol. svn path=/trunk/; revision=47695
2013-02-16From Dirk via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8287Evan Huus2-3/+191
Request-response tracking and response-time calculation for HTTP. svn path=/trunk/; revision=47694
2013-02-16Fix typo errorPascal Quantin1-2/+2
svn path=/trunk/; revision=47693
2013-02-16From Alyssa Milburn:Jaap Keuter1-2/+2
This patch adds a check for a zero count to the existing sanity check code. From me: In addition drop superfluous sanity check. svn path=/trunk/; revision=47692
2013-02-16Add Ethertype for Network Controller Sideband InterfaceJörg Mayer2-5/+10
svn path=/trunk/; revision=47691
2013-02-16Add decryption algorithm preference to SNMP dissector.Michael Mann1-6/+37
Bug 8328 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8328) svn path=/trunk/; revision=47690
2013-02-16Set more preferences to be on by default.Martin Mathieson1-8/+9
svn path=/trunk/; revision=47689