Patch to fix memory leaks/errors in Lua plugin
This issue was migrated from bug 5575 in our old bug tracker.
Original bug information:
Reporter: Robert G. Jakabosky
Status: CONFIRMED
Product: Wireshark
Component: Dissection engine (libwireshark)
OS: All
Platform: All
Version: Git
Attachments:
wslua_memory_and_call_stack_fixes.patch: Fix memory errors & Lua call-stack unwinding.
wslua_memory_and_call_stack_fixes.patch: Fix memory errors & Lua call-stack unwinding. v2
wslua_memory_fixes_unwinder_tap_data.patch: Fix memory errors, Lua call-stack unwinding, and Lua tap data support. v3
wslua_fix_memory_errors.patch: Fix memory errors in Lua dissectors.
wslua_lua_call_stack_unwinding.patch: Lua call-stack unwinding
wslua_create_tvb_from_lua_string.patch: Create tvb value from Lua String.
wslua_add_lua_tap_data_support.patch: Lua tap data support
0001-Fix-module-registration.-Must-use-lua_call-when-call.patch: patch 1/6 Fix module registration.
0002-Improve-userdata-type-checking.-Avoid-Lua-string-int.patch: patch 2/6 Improve userdata type checking.
0003-Add-Lua-cleanup-on-shutdown-to-help-with-memory-leak.patch: patch 3/6 Add Lua cleanup on shutdown, to help with memory leak detection.
0004-Refactor-handling-of-expiring-frame-values.patch: patch 4/6 Refactor expiring of packet frame values. (use ep_alloc instead of g_malloc)
0005-Fix-Lua-Tap-support.patch: patch 5/6 Fix Lua Tap support.
0006-Unwind-Lua-call-stack-on-WireShark-exceptions.patch: patch 6/6 Unwind Lua call stack on WireShark exceptions.