https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6020
--- Comment #3 from Tony Trinh <tony19@xxxxxxxxx> 2011-07-03 17:28:54 EDT ---
(In reply to comment #2)
Hmm. Just curious what your logic is. Wouldn't changing `if (tree)` to `if (1)`
ignore the fact that `tree` can be `null` (in which case a segfault would occur
before it ever reached Lua)?
I've only ever seen Lua dissectors be called with non-null trees (doesn't mean
that it can't happen...I can't tell from the source). Even if a null tree ever
percolated up, Lua would throw an exception when the postdissector tried to add
something to the tree (causing an expert-info tree item that indicated the
location of the Lua exception).
Something interesting is that the symptom also occurs in the trunk-1.4 source
(despite the original bug description).
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.