Wireshark-bugs: [Wireshark-bugs] [Bug 3517] New: uint64 and le_uint64 not bound to TvbRange
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3517
Summary: uint64 and le_uint64 not bound to TvbRange
Product: Wireshark
Version: 1.0.7
Platform: Other
OS/Version: Mac OS X 10.4
Status: NEW
Severity: Normal
Priority: Medium
Component: Wireshark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: scooper@xxxxxxxx
Build Information:
Version 1.0.7
Copyright 1998-2009 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
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 with GTK+ 2.16.1, with GLib 2.20.1, with libpcap 1.0.0, with libz
1.2.3, without POSIX capabilities, without libpcre, without SMI, without ADNS,
with Lua 5.1, without GnuTLS, without Gcrypt, with MIT Kerberos, without
PortAudio, without AirPcap.
NOTE: this build doesn't support the "matches" operator for Wireshark filter
syntax.
Running on Darwin 9.7.0 (MacOS 10.5.7), with libpcap version 1.0.0.
Built using gcc 4.0.1 (Apple Inc. build 5490).
Wireshark is Open Source Software released under the GNU General Public
License.
Check the man page and http://www.wireshark.org for more information.
--
When writing a dissector in lua, I'm unable to decode a 64 bit integer.
given:
function sx2v2_packet.dissector(buffer,pinfo,tree)
-- Packet Header
local actual = buffer(0,8):uint64()
if (sx2v2_expected ~= actual) then
print("unexpected seqnum " .. actual)
end
sx2v2_expected = actual
end
the call to uint64 fails with this error:
attempt to call method 'get_uint64' (a nul value)
Changing the line to use buffer(0,4):uint() works, but is incorrect for my
needs.
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.