Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 2453] segmentation fault with wslua script

Date: Tue, 27 Jan 2009 05:09:53 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2453





--- Comment #38 from Balint Reczey <balint.reczey@xxxxxxxxxxxx>  2009-01-27 05:09:51 PDT ---
I think, yes.
Tvb-s are marked as expired after calling a Lua dissector to prevent Lua from
using a freed tvbuff_t*.
We could mark the Tvb-s later, when wireshark frees the tvbuff_t* after the
whole frame is dissected to avoid the mentioned "expired tvb" errors.

Could you provide a simple example to reproduce the error?

(In reply to comment #37)
> I get "expired tvb" errors when using a tvb after called another dissector,
> like this reported problem:
> 
>  http://www.wireshark.org/lists/wireshark-dev/200812/msg00018.html
> 
> Can this be related to the fixes done in this bug report?
> 


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.