From 7f2cf3a815c6c802dc976c69ff9c9cd2555dbe1a Mon Sep 17 00:00:00 2001 From: dmiller Date: Tue, 26 May 2026 18:58:21 +0000 Subject: [PATCH] Fix heap limit: off by 3 orders of magnitude --- service_scan.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service_scan.cc b/service_scan.cc index 60bfb36ae..9943c08d8 100644 --- a/service_scan.cc +++ b/service_scan.cc @@ -466,7 +466,7 @@ void ServiceProbeMatch::InitMatch(const char *matchtext, int lineno) { pcre2_set_recursion_limit(match_context, 1000); #endif #ifdef pcre2_set_heap_limit - pcre2_set_heap_limit(match_context, 10); // units = kibibytes + pcre2_set_heap_limit(match_context, 10240); // units = kibibytes #endif /* OK! Now we look for any templates of the form ?/.../