segmentation fault with wslua script
This issue was migrated from bug 2453 in our old bug tracker.
Original bug information:
Reporter: Márton Németh
Status: RESOLVED FIXED
Product: Wireshark
Component: GTK+ UI
OS: All
Platform: x86
Version: 1.0.0
Attachments:
test_dissector.lua: a wslua dissector
test.pcap: test.pcap
debug-crash.patch: Add checkpoints temporary for debugging purpose
corrupted_double-linked_list.txt: "corrupted double-linked list" error message & backtrace
valgrind-just-start.txt: start Wireshark with Valgrind
valgrind-lua.txt: start Wireshark with Valgrind + lua script + data file
wslua_outstanding_stuff.patch: remove write
disable_nullify.patch: rmove write + disable pointer list maintenance
disable_nullify.patch: remove write + disable pointer list maintenance
disable_nullify-2.patch: remove write + disable pointer list maintenance
remove_wslua_outstanding_stuff.patch: remove the "outstanding_stuff" handling completely
test_dissector2.lua: modified, buggy test dissector
test2.pcap: two frame example pcap
test_dissector2.lua: buggy test dissector to demonstrate problems with pinfos, tvbs and trees
fix_wslua_outstanding_stuff.patch: fix based on the original "outstanding_stuff" handling
proto1-proto2.lua: Example showing the error