URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a9ba46856cff3ec121db5ce883defbec2d1dabd4
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
a9ba468 by Peter Wu (peter@xxxxxxxxxxxxx):
wslua: fix crash on Lua errors in dissect_tcp_pdus get_len_func
A similar problem was addressed in v1.99.10rc0-339-g82b2258, but that
patch missed the get_pdu_len function. A crash could occur when
get_pdu_len does not return a number or when it raises a Lua error.
Change-Id: I1a42a95d88708ae3bf6e015ba8d7af4db5071a00
Reviewed-on: https://code.wireshark.org/review/14954
Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
Actions performed:
from 558bb1c Another help message update.
adds a9ba468 wslua: fix crash on Lua errors in dissect_tcp_pdus get_len_func
Summary of changes:
epan/wslua/wslua_proto.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)