From 502a8b5fb324cc6c7dfdbaf0f2ce4a3c6877e734 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Tue, 19 Nov 2019 16:47:47 +0100 Subject: [PATCH] detect: fix inspection buffer for packet engines Fix buffers not being reset per inspection round for packet engines. Bug #3341. --- src/detect.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/detect.c b/src/detect.c index 5cac567fff..e5a6f27104 100644 --- a/src/detect.c +++ b/src/detect.c @@ -948,6 +948,7 @@ static void DetectRunCleanup(DetectEngineThreadCtx *det_ctx, PACKET_PROFILING_DETECT_START(p, PROF_DETECT_CLEANUP); /* cleanup pkt specific part of the patternmatcher */ PacketPatternCleanup(det_ctx); + InspectionBufferClean(det_ctx); if (pflow != NULL) { /* update inspected tracker for raw reassembly */ -- 2.47.2