Build Information:
v2.1.0rc0-2643-g57b2a84
--
During reloading of Lua scripts, Wireshark crashes if Lua scripts referencing
other fields are gone.
Steps to reproduce:
1. gdb -ex r -q --args wireshark -r test/captures/dns_port.pcap
-Xlua_script:test/lua/dissector.lua
2. (if https://code.wireshark.org/review/14870 is already applied, quick hack
to remove fields:) chmod -r test/lua/dissector.lua
3. Reload Lua plugins (Ctrl+Shift+L)
4. (Restore permissions as needed:) chmod +r test/lua/dissector.lua
Expected results:
Lua script is not loaded anymore, previously Fields are not referenced anymore.
Actual results:
Crash because fields are still primed.
Additional info:
It has something to do with lua_prime_all_fields.
I tried to extend wslua_cleanup with means to detach the tap listener, free the
dfilter, but then it crashes somewhere else.
You are receiving this mail because:
- You are watching all bug changes.