Merge in SNORT/snort3 from ~AAVILASE/snort3:reduce_appid_test_load_time to master
Squashed commit of the following:
commit
fe548a9e96f666fe57435bf404faac94d58a85bf
Author: Andres Avila Segura <aavilase@cisco.com>
Date: Wed Oct 23 12:39:40 2024 -0400
appid: adding full path to read list of lua detectors
appid_log(nullptr, TRACE_WARNING_LEVEL, "appid: leak of %d lua stack elements before detector load\n", lua_top);
while (std::getline(file, line))
{
- process_detector_file(const_cast<char*>(line.c_str()), is_custom);
+ std::string full_path = std::string(path) + "/" + line;
+ process_detector_file(const_cast<char*>(full_path.c_str()), is_custom);
}
}
return;