Wireshark-bugs: [Wireshark-bugs] [Bug 10233] Wireshark crashes if Lua heuristic dissector return
Hadriel Kaplan
changed
bug 10233
What |
Removed |
Added |
Status |
UNCONFIRMED
|
IN_PROGRESS
|
Ever confirmed |
|
1
|
Comment # 1
on bug 10233
from Hadriel Kaplan
(sorry, missed this bug whenever it was submitted months ago...)
Fascinating bug - took a while to track down. The root cause was a bug
unrelated to the Lua c-code, it just happens the Lua c-code needs to use
something other heuristic dissectors apparently don't.
But the annoying/unfortunate part is the existing Lua c-code correctly checks
for this error condition and should have gracefully continued instead of
crashing, but didn't. It calls report_failure() when it detects this error,
but apparently report_failure() is somehow not preventing GTK from continuing
to try to dissect the next packet before returning form the report_failure()
function call, which means epan_dissect_run() is being called while still being
inside of another epan_dissect_run() call, and thus wmem_scope asserts because
it can't handle recursion.
So I'll have to use something other than report_failure() I guess.
You are receiving this mail because:
- You are watching all bug changes.