Wireshark-bugs: [Wireshark-bugs] [Bug 5630] new_packet_list: LUA dissector - gibberish in "Info"

Date: Thu, 3 Feb 2011 04:08:42 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5630

wireshark@xxxxxxxxxxxxx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wireshark@xxxxxxxxxxxxx

--- Comment #8 from wireshark@xxxxxxxxxxxxx 2011-02-03 04:08:41 PST ---
If you want to stay on the stable release, I've found that putting the strings
into a dictionary with global scope works around the problem.  YMMV depending
on how many variations you have for the pinfo string.  I guess the set command
doesn't make a copy of the string so when the non-const string goes out of
scope lua writes over the top.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.