https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5247
Summary: Upper-case character in "name" of
prefs_register_xxx_preference() results in "Runtime
Error"
Product: Wireshark
Version: 1.5.x (Experimental)
Platform: x86
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: Low
Component: Wireshark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: torsten@xxxxxxxxxxxxxxx
Build Information:
Version 1.5.0
Copyright 1998-2010 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.6, (32-bit) with GLib 2.22.4, with WinPcap (version
unknown), with libz 1.2.3, without POSIX capabilities, without libpcre, with
SMI
0.4.8, with c-ares 1.7.1, with Lua 5.1, without Python, with GnuTLS 2.8.5, with
Gcrypt 1.4.5, with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built
Sep
21 2010), with AirPcap.
Running on Windows XP Service Pack 3, build 2600, with WinPcap version 4.1.1
(packet.dll version 4.1.0.1753), based on libpcap version 1.0 branch 1_0_rel0b
(20091008), GnuTLS 2.8.5, Gcrypt 1.4.5, without AirPcap.
Built using Microsoft Visual C++ 9.0 build 30729
--
Using upper-case characters at any position in the field "name" of the function
prefs_register_xxx_preference() results in "Runtime Error" in "Microsoft Visual
C++ Runtime Library".
I'm not sure if this is a real Wireshark bug or not. So please feel free to
ignore me. However, (as far as i know) it is not documented in README.developer
and took little effort to dry and error this out.
Example, which compiles without errors but results in runtime error:
prefs_register_bool_preference(siii_module, "sHow_hex",
"Display numbers in Hex",
"Enable to display numerical values in hexadecimal.",
&gPREF_HEX);
Upper-case character in "sHow_hex"
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.