mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
clear zones array
This commit is contained in:
parent
c38722a68b
commit
39945b7775
@ -726,6 +726,7 @@ hwlm_error_t fdr_engine_exec(const struct FDR *fdr,
|
|||||||
assert(ISALIGNED_CL(confBase));
|
assert(ISALIGNED_CL(confBase));
|
||||||
struct zone zones[ZONE_MAX];
|
struct zone zones[ZONE_MAX];
|
||||||
assert(fdr->domain > 8 && fdr->domain < 16);
|
assert(fdr->domain > 8 && fdr->domain < 16);
|
||||||
|
memset(zones, 0, sizeof(zones));
|
||||||
|
|
||||||
size_t numZone = prepareZones(a->buf, a->len,
|
size_t numZone = prepareZones(a->buf, a->len,
|
||||||
a->buf_history + a->len_history,
|
a->buf_history + a->len_history,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user