Age | Commit message (Collapse) | Author | Files | Lines |
|
show_fragment_seq_tree does not add reassembled data tree item
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8766
svn path=/trunk/; revision=49751
|
|
SDH dissector calculation fixes.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8767
svn path=/trunk/; revision=49750
|
|
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8764 :
Apply the fix from bug 8539 (r48796) to another function (dissect_r3_upstreamcommand_queryconfig()):
Bail out of the item length we get (which we use to increment the offset) is 0.
Otherwise the offset does not advance and we loop forever.
While we're in there: get the item length just once (there's no need to call
tvb_get_guint8() a half dozen times when one will do).
svn path=/trunk/; revision=49744
|
|
Remove dead code (condition can never happen).
svn path=/trunk/; revision=49743
|
|
The entity offset variable parameter uses either offset or orientation but not
both, this caused the data displayed to be skewed.
svn path=/trunk/; revision=49736
|
|
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8737
Add dissection of Category 009 to the ASTERIX dissector.
svn path=/trunk/; revision=49734
|
|
As suggested by Jakub, don't use strlen() when g_string->len will do.
From me:
Don't assume that just because we "got_val" that the value has a length.
Checking it first eliminates this warning from Valgrind:
==11954== Invalid read of size 1
==11954== at 0x61D1466: read_prefs_file (prefs.c:3012)
==11954== by 0x61D1841: read_prefs (prefs.c:2955)
==11954== by 0x409901: main (tshark.c:1137)
==11954== Address 0xc05244f is 1 bytes before a block of size 16 alloc'd
==11954== at 0x4A08A6E: realloc (vg_replace_malloc.c:662)
==11954== by 0x3CF8C4D736: g_realloc (in /usr/lib64/libglib-2.0.so.0.3400.2)
==11954== by 0x3CF8C66226: ??? (in /usr/lib64/libglib-2.0.so.0.3400.2)
==11954== by 0x3CF8C66ACE: g_string_insert_c (in /usr/lib64/libglib-2.0.so.0.3400.2)
==11954== by 0x61D1566: read_prefs_file (gstring.h:139)
==11954== by 0x61D1841: read_prefs (prefs.c:2955)
==11954== by 0x409901: main (tshark.c:1137)
svn path=/trunk/; revision=49731
|
|
handle list ending delimiter in bt-dth peer list
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8759
svn path=/trunk/; revision=49729
|
|
remove unnecessary comma
svn path=/trunk/; revision=49728
|
|
Move offset to end of line without assuming that we always have \r\n at the end of it
svn path=/trunk/; revision=49722
|
|
svn path=/trunk/; revision=49720
|
|
(and fix a minor bug.. KX Preference is always = 0...)
svn path=/trunk/; revision=49719
|
|
svn path=/trunk/; revision=49718
|
|
svn path=/trunk/; revision=49717
|
|
svn path=/trunk/; revision=49716
|
|
svn path=/trunk/; revision=49715
|
|
svn path=/trunk/; revision=49714
|
|
svn path=/trunk/; revision=49713
|
|
svn path=/trunk/; revision=49712
|
|
svn path=/trunk/; revision=49711
|
|
../../asn1/nbap/packet-nbap-template.c: In function 'add_hsdsch_bind':
../../asn1/nbap/packet-nbap-template.c:349: warning: unused parameter 'tree'
svn path=/trunk/; revision=49708
|
|
NOTE: Kerberos ASN.1 template was updated, but not generated to source.
svn path=/trunk/; revision=49707
|
|
svn path=/trunk/; revision=49706
|
|
Compute the number of septets needed for an alphanumeric address
svn path=/trunk/; revision=49698
|
|
svn path=/trunk/; revision=49696
|
|
I'm stil not sure the copying of the packet_info structure is necessary (or what the consequences are), but at least it's not global anymore.
col_set_fence may be needed to prevent overwriting by PPP dissector, Caching COL_INFO (or the other columns) into it's own string was way more work than necessary and could lead to no column info on a malformed packet.
svn path=/trunk/; revision=49689
|
|
The looping logic is a bit odd, and there was a case where we were never
incrementing any of the multiple loop variables. I suspect the entire function
could be simplified, but this commit fixes the hang and is better suited to
backporting than anything complex.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8730
svn path=/trunk/; revision=49686
|
|
svn path=/trunk/; revision=49685
|
|
Upgrade AP-title ASN.1 description
svn path=/trunk/; revision=49684
|
|
bit more.
svn path=/trunk/; revision=49683
|
|
Display C12.22 Invocation Id as unsigned integer
svn path=/trunk/; revision=49682
|
|
svn path=/trunk/; revision=49681
|
|
svn path=/trunk/; revision=49680
|
|
svn path=/trunk/; revision=49678
|
|
svn path=/trunk/; revision=49676
|
|
(some TAPs can slice packets and then add a custom trailer)
svn path=/trunk/; revision=49675
|
|
svn path=/trunk/; revision=49674
|
|
and fail with ENOMEM if that fails (and the frame table is not empty -
g_try_malloc() will return NULL if you ask it to allocate zero bytes).
Have an error message for ENOMEM on an open that attempts to tell the
user what the problem is without making their head explode.
svn path=/trunk/; revision=49673
|
|
RPC IDL, Microsoft's DCE RPC IDL, or Samba's DCE RPC IDL?)
Constify some stuff to squelch warnings.
svn path=/trunk/; revision=49672
|
|
cc1: warnings being treated as errors
packet-wccp.c: In function 'wccp_fmt_ipadddress':
packet-wccp.c:555: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:125: warning: shadowed declaration is here
packet-wccp.c: In function 'dissect_wccp2_alternate_mask_value_set_element':
packet-wccp.c:2570: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:125: warning: shadowed declaration is here
make[5]: *** [libdissectors_la-packet-wccp.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
svn path=/trunk/; revision=49667
|
|
via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8635
This is an enhanced WCCP decoder handling the new draft 2.01 standard from http://tools.ietf.org/html/draft-mclaggan-wccp-v2rev1
svn path=/trunk/; revision=49666
|
|
Compile tested only.
svn path=/trunk/; revision=49665
|
|
file. That should be loaded no matter what if we have name resolution
enabled.
Add a name resolution test suite. Currently disabled until I can test it
on Windows.
svn path=/trunk/; revision=49657
|
|
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8741)
From Chas Williams
svn path=/trunk/; revision=49654
|
|
know about a given operation number.
svn path=/trunk/; revision=49653
|
|
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3290#c26
Also use indentation consistent with the rest of the file.
svn path=/trunk/; revision=49652
|
|
doing it blindly (which could lead to malformed packets). Bug 8735 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8735)
Also minor cleanup of column info.
svn path=/trunk/; revision=49651
|
|
changes from r49644 you'll get complaints about the hf being unregistered...
Note that this code also intentionally passes -1 as an ett_index. It doesn't
currently complain so I'm leaving it alone for now...
svn path=/trunk/; revision=49648
|
|
don't need them any more and, as shown in
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3290#c16
we really want to check if we're looking at something beyond the end of the TVB
(in order to break out of very long loops).
svn path=/trunk/; revision=49645
|
|
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3290
(TRY_TO_FAKE_THIS_ITEM disables bounds errors):
Before calling TRY_TO_FAKE_THIS_ITEM() check if the length given (or, in
the case of FT_UINT_{STRING,BYTES}, the length we retrieve from the TVB)
exceeds what's left in the TVB.
Do this only for proto_tree_add_item() for now (it's the most commonly used
and thus the biggest trouble maker in this area).
Similar changes for other APIs will come later (if nothing blows up). Despite
the fuzz failures this bug has caused I'm not sure about back-porting it...
svn path=/trunk/; revision=49644
|