aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2013-07-12Move disabled_protos.{h,c} into epan.Jeff Morriss13-16/+19
svn path=/trunk/; revision=50521
2013-07-12No need to include epan header files here; include things directly as necessary.Jeff Morriss2-4/+3
svn path=/trunk/; revision=50520
2013-07-12frame_data_sequence.c and packet-range.c moved to epan.Guy Harris1-2/+0
svn path=/trunk/; revision=50519
2013-07-12packet-range.h moved to the epan directory.Guy Harris2-2/+2
svn path=/trunk/; revision=50518
2013-07-11Move some more modules into epan.Jeff Morriss19-28/+23
svn path=/trunk/; revision=50517
2013-07-11Fix the problem reported in ↵Jeff Morriss1-47/+51
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8908#c3 (the last remaining problem in that bug report): When we expand a tree, check if any of its children need to be expanded too (because the user left them expanded when s/he closed the parent). In the process, rename expand_finfos() to check_expand_children() since the function expands any children (subtrees) which should be expanded. Remove one of that function's parameters too: just reference the global preference that controls whether scrolling should be done or not. Replace some tabs with spaces (for consistency). svn path=/trunk/; revision=50516
2013-07-11Fix cut-and-pasteo found by a compiler warning.Guy Harris1-7/+7
Mark an unused parameter as unused. svn path=/trunk/; revision=50515
2013-07-11Fix typo found by a compiler warning.Guy Harris1-1/+1
svn path=/trunk/; revision=50514
2013-07-11The beginning of an openflow dissector.Anders Broman3-0/+947
svn path=/trunk/; revision=50513
2013-07-11From Tommy Wu:Anders Broman1-11/+39
Add 3gpp2_cvse. svn path=/trunk/; revision=50512
2013-07-11From Tommy Wu:Anders Broman1-10/+10
Use terminology from RFC 4303 svn path=/trunk/; revision=50511
2013-07-11Fix an obvious case of incorrectly comparing the return value of ↵Chris Maynard1-2/+3
tvb_length_remaining() against non-zero instead of greater than zero. There are other questionable uses of tvb_length_remaining() as well ... and maybe these should all be replaced with tvb_reported_length_remaining() as well? #BACKPORT(1.10,1.8) svn path=/trunk/; revision=50510
2013-07-11get_hfi_and_length() hasn't returned the hfi since r50015: rename itJeff Morriss1-7/+7
to get_hfi_length(). svn path=/trunk/; revision=50509
2013-07-11Don't mark a used parameter _U_.Jeff Morriss1-1/+1
svn path=/trunk/; revision=50508
2013-07-11For consistency:Jeff Morriss1-50/+50
s/hf_index/hfindex/g s/hf_info/hfinfo/g svn path=/trunk/; revision=50507
2013-07-11Fix the very long loop fuzz failure reported in ↵Jeff Morriss1-4/+13
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8923 : Apply the fix for https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3290 to proto_tree_add_bits_item(). That is, test that we have offset+length bytes left in the TVB before trying to fake the item. svn path=/trunk/; revision=50504
2013-07-11Client subnet optcode value now IANA assigned. Warn if experimental ↵Michael Mann1-6/+14
placeholder value is still used. Bug 7552 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7552) svn path=/trunk/; revision=50503
2013-07-11Throw in a cast to squelch warnings about a value not fitting in aGuy Harris1-4/+2
time_t. (That also lets us not care how big a time_t is, except that we have a not-fixable Y2.038K problem with 32-bit time_t, about which we merely warn in a comment.) svn path=/trunk/; revision=50502
2013-07-11You now have to update three count 'em three files when adding a newGuy Harris1-0/+1
source file at the top level - top-level Makefile.common, top-level CMakeLists.txt, *and* qui/qt/QtShark.pro. svn path=/trunk/; revision=50501
2013-07-11Get rid of an unused variable.Guy Harris1-3/+4
Don't nest g_strconcat() calls: g_strconcat(a, g_strconcat(b, c, NULL), NULL) is equivalent to g_strconcat(a, b, c, NULL). (And g_strconcat(b, c) is incorrect - you need a NULL at the end of the list.) Checking whether a pointer is "> 0" is useful only in platform-dependent situations or if you're doing a really greasy hack such as stuffing a flag into the uppermost bit of the pointer; the test should just check whether the pointer is null or not. svn path=/trunk/; revision=50500
2013-07-11Fix two problems in tvbuff.hJakub Zawadzki1-1/+3
svn path=/trunk/; revision=50499
2013-07-11Restore old composite_memcpy() prototype. Remove it from ops.Jakub Zawadzki1-3/+3
svn path=/trunk/; revision=50498
2013-07-11packet dissection now takes pointer to tvb instead of guint8 dataJakub Zawadzki24-67/+221
implement frame_tvbuff, right now almost a copy of 'real' tvb. svn path=/trunk/; revision=50497
2013-07-11tvbuff: try to fix compilation problems for C++-like compilers.Jakub Zawadzki1-14/+19
svn path=/trunk/; revision=50496
2013-07-10Upgrade NAS disssectors to v11.7.0Pascal Quantin2-2/+32
svn path=/trunk/; revision=50494
2013-07-10Darn it - fix typo.Chris Maynard1-1/+1
svn path=/trunk/; revision=50493
2013-07-10Mention the new -L option to editcap in the release notes.Chris Maynard1-0/+2
svn path=/trunk/; revision=50492
2013-07-10Add -L option to allow adjustment of original frame length. This change was ↵Chris Maynard2-75/+104
motivated by a question on ask where the user currently has to jump through hoops to accomplish the same thing which can now be done in 1 step via: editcap -T wpan -C 16 -L -F libpcap test.pcap test_wpan.pcap I thought it would be useful enough for others as well. Ref: http://ask.wireshark.org/questions/22689/problems-with-editcap-and-wpan-encapsulation-option svn path=/trunk/; revision=50491
2013-07-10tvbuff: remove ->tvb_init() from opsJakub Zawadzki2-43/+15
->tvb_init() knows nothing about new tvb and can only do some kind of bzero() it's much better if we initialize object after tvb_new() [which anyway must be done] + try to fix OSX build. svn path=/trunk/; revision=50490
2013-07-10tvbuff: allow tvb-implementations using their own structure (it's fine as ↵Jakub Zawadzki2-36/+91
long as first member of struct is tvbuff) Move some stuff outside tvbuff struct. svn path=/trunk/; revision=50489
2013-07-10From Cal Turney:Anders Broman1-62/+113
- tshark -q -z io,stat,1 causes core dump for files larger than ~2MB (with this fix it will still overflow on 32-bits for frame time > 4294s) - In tshark's "io,stat" eliminate the unrequested "Frames and bytes" col, fix formatting, and add "Duration" From me: Added casts to squelch compiler warnings on win7 64bit https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8839 svn path=/trunk/; revision=50488
2013-07-10Fix previous commit. Devel env with -w in CFLAGS is not so good idea...Jakub Zawadzki2-9/+9
svn path=/trunk/; revision=50487
2013-07-10tvbuff: replace type with operation vtableJakub Zawadzki3-140/+181
It's begin of work to allow adding new tvbuff types (think: wtap_tvbuff, base64_tvbuff). svn path=/trunk/; revision=50486
2013-07-10Use QHeaderView::setSectionResizeMode on Qt >= 5.Gerald Combs1-0/+10
svn path=/trunk/; revision=50485
2013-07-10Document that ProtoField INT64 and UINT64 does not support value string.Stig Bjørlykke1-2/+2
svn path=/trunk/; revision=50484
2013-07-10Use luaL_optnumber for ProtoField mask, to avoid a signed cast.Stig Bjørlykke1-3/+3
This fixes bug 5734. svn path=/trunk/; revision=50483
2013-07-10Add strnatcmp by Martin Pool for 'natural order' string comparisons, and ↵Chris Maynard9-7/+285
make use of it in editcap and mergecap for listing encapsulation types. For example: Before: user0 - USER 0 user1 - USER 1 user10 - USER 10 user11 - USER 11 user12 - USER 12 user13 - USER 13 user14 - USER 14 user15 - USER 15 user2 - USER 2 user3 - USER 3 user4 - USER 4 user5 - USER 5 user6 - USER 6 user7 - USER 7 user8 - USER 8 user9 - USER 9 After: user0 - USER 0 user1 - USER 1 user2 - USER 2 user3 - USER 3 user4 - USER 4 user5 - USER 5 user6 - USER 6 user7 - USER 7 user8 - USER 8 user9 - USER 9 user10 - USER 10 user11 - USER 11 user12 - USER 12 user13 - USER 13 user14 - USER 14 user15 - USER 15 svn path=/trunk/; revision=50482
2013-07-10From Javier Godoy:Anders Broman1-9/+20
Proper dissection of responses with insufficient allocation length. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8919 svn path=/trunk/; revision=50481
2013-07-10From Joe McEachern:Anders Broman1-1/+1
SIP stats shows incorrect values for Max/Ave setup times. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8897 BACKPORT 1.8 1.10 svn path=/trunk/; revision=50480
2013-07-10Fix bug #8908: Strange behavior of tree expand/collapse in packet detailsJakub Zawadzki1-13/+37
Only expand subtree when parent was also expanded svn path=/trunk/; revision=50479
2013-07-10The last bits of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8828Evan Huus1-16/+84
Convert the last DISSECTOR_ASSERTs into potential expert infos, and do the right offset manipulation and verification to avoid long (or infinite) loops when those conditions are hit. This includes fixing some long loops I accidentally introduced in r50432. svn path=/trunk/; revision=50478
2013-07-09tvbuff: use ep_strbuf_append_unichar()Jakub Zawadzki1-26/+6
svn path=/trunk/; revision=50477
2013-07-09fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8916Martin Kaiser1-4/+8
reported by Laurent Butti a TPDU's length field must never be 0 this length field was decremented without prior checking, allocating length-1 bytes of memory caused a dissector assert svn path=/trunk/; revision=50474
2013-07-09Upgrade LTE RRC dissector to v11.4.0Pascal Quantin5-11/+116
svn path=/trunk/; revision=50473
2013-07-09Fix some uninitialized variable warnings reported in bug 8904 ↵Michael Mann1-11/+1
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8904) by setting conversation structure (smtp_session_state) to all zeros. svn path=/trunk/; revision=50472
2013-07-09Avoid having double "Default" entry in "Create New Profile".Stig Bjørlykke1-2/+0
#BACKPORT 1.10 svn path=/trunk/; revision=50471
2013-07-09From Thomas ERSFELD (GSOC13) via ↵Alexis La Goutte11-4/+1430
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8710 QtShark doesn't have a statistics summary window Add Summary Statistics to qtshark (Statistics => Summary) Now, use tabs to split summary display (File Capture details, Capture Statistics) Add also Comment Summary tab (to replace Statistics => Comments Summary) From me : Fix order of summary files in Qtshark.pro svn path=/trunk/; revision=50470
2013-07-09Another change that should have been part of r50465, which removed the ↵Chris Maynard1-9/+14
limits to the number of characters in the display filter(s). [Technically, there is still the inherent 65535 limit.] #BACKPORT(1.10,1.8) svn path=/trunk/; revision=50469
2013-07-09Use sizeof() instead of hard-coded values. Other minor whitespace cleanup.Chris Maynard1-29/+28
svn path=/trunk/; revision=50466
2013-07-09Remove the advanced filter field arbitrary text limit of 100 and remove the ↵Chris Maynard1-3/+0
filter field arbitrary text limit of 256. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8909 #BACKPORT(1.10,1.8) svn path=/trunk/; revision=50465