From: Victor Julien Date: Mon, 2 Dec 2019 13:35:04 +0000 (+0100) Subject: detect/file.data: fix buffer reusing id 0 X-Git-Tag: suricata-5.0.1~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3ea5e71e5cd48f1bfe5a2b8c8241af989498bac;p=thirdparty%2Fsuricata.git detect/file.data: fix buffer reusing id 0 --- diff --git a/src/detect-file-data.c b/src/detect-file-data.c index 63a5b53b48..6558668f5d 100644 --- a/src/detect-file-data.c +++ b/src/detect-file-data.c @@ -503,6 +503,7 @@ static void PrefilterTxFiledata(DetectEngineThreadCtx *det_ctx, &det_ctx->mtcu, &det_ctx->pmq, buffer->inspect, buffer->inspect_len); } + local_file_id++; } } }