http: don't assume http tx to have header alloc'd. Can happen in OOM conditions. Bug #587.

pull/181/head
Victor Julien 14 years ago
parent cd27571220
commit 985cb92573

@ -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;

Loading…
Cancel
Save