Jan 06 2026 dev (#387)

* sync code

* update code to support brotli

* update code to support brotli

* update code to support brotli

* sync code

* fix findBrotli

* sync code

* sync code

* sync code

* sync code

---------

Co-authored-by: Ned Wright <nedwright@proton.me>
Co-authored-by: Daniel Eisenberg <danielei@checkpoint.com>
This commit is contained in:
Daniel-Eisenberg
2026-01-13 17:17:52 +02:00
committed by GitHub
parent c1058db57d
commit e7b6e51b31
216 changed files with 12601 additions and 2825 deletions

View File

@@ -414,7 +414,9 @@ DeepParser::onKv(const char *k, size_t k_len, const char *v, size_t v_len, int f
if (valueStats.canSplitPipe || valueStats.canSplitSemicolon) {
std::string key = IndicatorsFiltersManager::generateKey(m_key.first(), m_key.str(), m_pTransaction);
m_pWaapAssetState->m_filtersMngr->pushSample(key, cur_val, m_pTransaction);
if (m_pWaapAssetState->m_filtersMngr != nullptr) {
m_pWaapAssetState->m_filtersMngr->pushSample(key, cur_val, m_pTransaction);
}
}
// Detect and decode UTF-16 data
@@ -1090,7 +1092,7 @@ DeepParser::createInternalParser(
int offset = -1;
auto pWaapAssetState = m_pTransaction->getAssetState();
std::shared_ptr<Signatures> signatures = m_pWaapAssetState->getSignatures();
if (pWaapAssetState != nullptr) {
if (pWaapAssetState != nullptr && pWaapAssetState->m_filtersMngr != nullptr) {
// Find out learned type
std::set<std::string> paramTypes = pWaapAssetState->m_filtersMngr->getParameterTypes(
IndicatorsFiltersManager::generateKey(m_key.first(), m_key.str(), m_pTransaction)