Wireshark-bugs: [Wireshark-bugs] [Bug 10884] New: netlink dissector doesn't register a field it

Date: Fri, 23 Jan 2015 03:30:50 +0000
Bug ID 10884
Summary netlink dissector doesn't register a field it uses
Product Wireshark
Version 1.99.x (Experimental)
Hardware x86
OS All
Status UNCONFIRMED
Severity Normal
Priority Low
Component Dissection engine (libwireshark)
Assignee [email protected]
Reporter [email protected]

Build Information:
TShark (Wireshark) 1.99.2 (v1.99.2rc0-838-g2eaa467 from unknown)

Copyright 1998-2015 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 libpcap, without POSIX capabilities, with libz 1.2.8,
with GLib 2.36.0, with SMI 0.4.8, with c-ares 1.10.0, with Lua 5.2, with GnuTLS
3.1.22, with Gcrypt 1.5.3, with MIT Kerberos, with GeoIP.

Running on Mac OS X 10.9.5, build 13F34 (Darwin 13.4.0), with locale
en_US.UTF-8, with libpcap version 1.6.2, with libz 1.2.8, with GnuTLS 2.12.19,
with Gcrypt 1.5.0.
Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz (with SSE4.2)

Built using clang 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56).
--
When dissecting a netlink message with netlink attributes, I get the following:

 Warn Dissector bug, protocol rtnetlink, in packet 1: proto.c:2134: failed
assertion "(guint)hfinfo->id < gpa_hfinfo.len" (Unregistered hf!)

That's because there's a header field info variable named hfi_netlink_len
that's added to the tree in dissect_netlink_attributes() in packet-netlink.c,
but is not actually registered.

I'll submit a fix.


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