Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 9853] New: Lua: trying to get/access a Preference before i

Date: Sat, 08 Mar 2014 23:54:19 +0000
Bug ID 9853
Summary Lua: trying to get/access a Preference before its registered causes a segfault
Classification Unclassified
Product Wireshark
Version 1.10.6
Hardware All
OS All
Status UNCONFIRMED
Severity Normal
Priority Low
Component Wireshark
Assignee [email protected]
Reporter [email protected]

Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
Do: this:

    local myproto = Proto.new("myproto","My Protocol")
    local crashme = myproto.prefs.foobar
    -- BOOM

Because prefs_p->next is not being checked for NULL in
wslua_proto.c:Prefs__index().


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