diff --git a/src/detect-engine.c b/src/detect-engine.c index 8cf351ba92..7ecf751390 100644 --- a/src/detect-engine.c +++ b/src/detect-engine.c @@ -1993,6 +1993,7 @@ static int DetectEngineThreadCtxInitGlobalKeywords(DetectEngineThreadCtx *det_ct const DetectEngineMasterCtx *master = &g_master_de_ctx; if (master->keyword_id > 0) { + // coverity[suspicious_sizeof : FALSE] det_ctx->global_keyword_ctxs_array = (void **)SCCalloc(master->keyword_id, sizeof(void *)); if (det_ctx->global_keyword_ctxs_array == NULL) { SCLogError(SC_ERR_DETECT_PREPARE, "setting up thread local detect ctx");