Submitter: Peter Wu (pe...@lekensteyn.nl)
Changed: branch: master
3868252 by Jeff Morriss (jeff.morriss...@gmail.com):
Lua: allow creating TVBs after calling other (Lua) dissectors.
Don't set `lua_tvb` (or any of the other global variables) to NULL after a
Lua dissector is called: it's possible that the caller is also a Lua
which may want/need that (global) variable to still be set (to the value it
had before the sub-dissector was called).
This fixes the problem reported in:
Making these variables not be a globals (as suggested at the top of
init_wslua.c) might be a better solution--for another day.
Petri-Dish: Jeff Morriss <jeff.morriss...@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-re...@wireshark.org>
Reviewed-by: Peter Wu <pe...@lekensteyn.nl>
Tested-by: Peter Wu <pe...@lekensteyn.nl>
from 3a08906 Retrieve CLNP option values from the right place
adds 3868252 Lua: allow creating TVBs after calling other (Lua)
Summary of changes:
epan/wslua/init_wslua.c | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
Sent via: Wireshark-commits mailing list <firstname.lastname@example.org>