Actions
Bug #1072
closedSegmentation fault in 2.0beta2: Custom HTTP log segmentation fault
Affected Versions:
Effort:
Difficulty:
Label:
Description
When using the host parameter on the custom HTTP logging, Suricata will crash with a segmentation fault on log-httplog.c, line 262.
258 if (tx->request_hostname != NULL)
259 {
260 datalen = httplog_ctx->cf_nodes[i]->maxlen;
261 if (datalen == 0 || datalen > bstr_len(tx->parsed_uri->hostname)) {
262 datalen = bstr_len(tx->parsed_uri->hostname);
263 }
I have attached the stack trace.
Files
Actions