From: Mike Stepanek (mstepane) Date: Thu, 1 Nov 2018 13:46:18 +0000 (-0400) Subject: Merge pull request #1410 in SNORT/snort3 from invalid_lua_crash to master X-Git-Tag: 3.0.0-249~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a9d56f6d8e76595d965961b65a5a6aa4b76ce38;p=thirdparty%2Fsnort3.git Merge pull request #1410 in SNORT/snort3 from invalid_lua_crash to master Squashed commit of the following: commit cfc5b686c672418318d44760ea8fdff2a9298e40 Author: Pratik Shinde Date: Mon Oct 29 12:27:12 2018 -0400 appid: Remove detector flows from the list for faulty lua detectors --- diff --git a/src/network_inspectors/appid/lua_detector_api.cc b/src/network_inspectors/appid/lua_detector_api.cc index 540eb2a45..9e5b5ca04 100644 --- a/src/network_inspectors/appid/lua_detector_api.cc +++ b/src/network_inspectors/appid/lua_detector_api.cc @@ -2542,6 +2542,7 @@ int LuaStateDescriptor::lua_validate(AppIdDiscoveryArgs& args) ErrorMessage("lua detector %s: error validating %s\n", package_info.name.c_str(), lua_tostring(my_lua_state, -1)); ldp.pkt = nullptr; + LuaDetectorManager::free_detector_flows(); return APPID_ENULL; }