Bug ID |
11636
|
Summary |
Add uint8/uint16 versions of proto_tree_add_item_ret_uint/int
|
Product |
Wireshark
|
Version |
unspecified
|
Hardware |
x86
|
OS |
All
|
Status |
UNCONFIRMED
|
Severity |
Enhancement
|
Priority |
Low
|
Component |
Dissection engine (libwireshark)
|
Assignee |
[email protected]
|
Reporter |
[email protected]
|
Build Information:
TShark (Wireshark) 2.1.0 (v2.1.0rc0-230-g7e35389 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 libnl 1, with
libz 1.2.8, with GLib 2.40.2, without SMI, without c-ares, without ADNS,
without
Lua, with GnuTLS 2.12.23, with Gcrypt 1.5.3, with MIT Kerberos, without GeoIP.
Running on Linux 3.13.0-66-generic, with locale en_GB.UTF-8, 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-3930K CPU @ 3.20GHz (with SSE4.2)
Built using gcc 4.8.4.
--
The proto_tree_add_item_ret_uint/int functions can be used to extract fields of
8/16/24/32 bits, but the parameter to be populated can only be a
guint32/gint32. This makes interpretation of dissector code more difficult, as
writers will be using 32-bit variables to hold fields of multiple lengths.
Propose to add 8 and 16-bit versions of the functions.
You are receiving this mail because:
- You are watching all bug changes.