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
Updated by Duarte Silva about 11 years ago
- File buildinfo.txt buildinfo.txt added
Forgot to add the Suricata build information (note the httplib version, 0.5.9).
Updated by Victor Julien about 11 years ago
- Status changed from New to Assigned
- Assignee set to Duarte Silva
- Target version set to 2.0rc1
Updated by Duarte Silva almost 11 years ago
Patch provided on pull request https://github.com/inliniac/suricata/pull/734.
Updated by Victor Julien almost 11 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
Merged, thanks Duarte!
Actions