Wireshark-bugs: [Wireshark-bugs] [Bug 9870] New: Lua: trying to call/get an invalid name results
| Bug ID |
9870
|
| Summary |
Lua: trying to call/get an invalid name results in a get-loop error
|
| Classification |
Unclassified
|
| Product |
Wireshark
|
| Version |
1.11.x (Experimental)
|
| Hardware |
x86
|
| OS |
Mac OS X 10.9
|
| Status |
UNCONFIRMED
|
| Severity |
Normal
|
| Priority |
Low
|
| Component |
Dissection engine (libwireshark)
|
| Assignee |
bugzilla-admin@wireshark.org
|
| Reporter |
hadrielk@yahoo.com
|
Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
Due to the change I made previously for how methods are accessed, if you try ot
access one that doesn't exist (For example mistype it or whatever), you get an
internal Lua error about a loop in table get, as opposed to the right error
message about the field not existing.
That's because I had set the class' metatable __index metamethod to point to
the class table, which of course has the metatable with the __index metamethod,
causing a lookup loop. Blech.
You are receiving this mail because:
- You are watching all bug changes.