diff --git a/src/detect-engine-hhd.c b/src/detect-engine-hhd.c index a2a7abf621..aefa9eb03a 100644 --- a/src/detect-engine-hhd.c +++ b/src/detect-engine-hhd.c @@ -131,6 +131,8 @@ static void DetectEngineBufferHttpHeaders(DetectEngineThreadCtx *det_ctx, Flow * } else { headers = tx->response_headers; } + if (headers == NULL) + continue; htp_header_t *h = NULL; uint8_t *headers_buffer = NULL;