ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 12227] New: packetbb-dissector msg size filtering

Date: Wed, 02 Mar 2016 18:45:56 +0000
Bug ID 12227
Summary packetbb-dissector msg size filtering
Product Wireshark
Version 2.0.2
Hardware x86
OS All
Status UNCONFIRMED
Severity Minor
Priority Low
Component Dissection engine (libwireshark)
Assignee [email protected]
Reporter [email protected]

Build Information:
Wireshark 2.0.2 (SVN Rev Unknown from unknown)

Copyright 1998-2016 Gerald Combs <[email protected]> and contributors.
License GPLv2+: GNU GPL version 2 or later
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with Qt 5.2.1, with libpcap, with POSIX capabilities (Linux),
without libnl, with libz 1.2.8, with GLib 2.40.2, without SMI, with c-ares
1.10.0, without Lua, with GnuTLS 2.12.23, with Gcrypt 1.5.3, with MIT Kerberos,
without GeoIP, without QtMultimedia, without AirPcap.

Running on Linux 4.3.3, with locale C, with libpcap version 1.5.3, with libz
1.2.8, with GnuTLS 2.12.23, with Gcrypt 1.5.3.
Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz (with SSE4.2)

Built using gcc 4.8.4.

--
Filtering packetbb message for size not RFC5444 conform with the dissector.
Uses 8-bit instead of 16-bit.

epan/dissectors/packet-packetbb.c:

>From line 832-835 I did change the size of the filtering value to 16 bit and
recompiled -> worked afterwards:

    { &    { &hf_packetbb_msgheader_size,
      { "Size", "packetbb.msg.size",
    ->    FT_UINT16, BASE_DEC, NULL, 0, # was FT_UINT8 !!!
        NULL, HFILL }


You are receiving this mail because:
  • You are watching all bug changes.