detect/files: fix buffer tracking with multiple files

pull/6261/head
Victor Julien 4 years ago
parent 3c1cc1e345
commit d8d1fbe443

@ -554,6 +554,7 @@ static void PrefilterTxFilemagic(DetectEngineThreadCtx *det_ctx,
&det_ctx->mtcu, &det_ctx->pmq, &det_ctx->mtcu, &det_ctx->pmq,
buffer->inspect, buffer->inspect_len); buffer->inspect, buffer->inspect_len);
} }
local_file_id++;
} }
} }
} }

@ -460,6 +460,7 @@ static void PrefilterTxFilename(DetectEngineThreadCtx *det_ctx,
&det_ctx->mtcu, &det_ctx->pmq, &det_ctx->mtcu, &det_ctx->pmq,
buffer->inspect, buffer->inspect_len); buffer->inspect, buffer->inspect_len);
} }
local_file_id++;
} }
} }
} }

Loading…
Cancel
Save