Project

General

Profile

Actions

Bug #1072

closed

Segmentation fault in 2.0beta2: Custom HTTP log segmentation fault

Added by Duarte Silva almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Low
Assignee:
Target version:
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

stacktrace.txt (3.47 KB) stacktrace.txt Segmentation fault stack trace Duarte Silva, 12/19/2013 07:40 AM
buildinfo.txt (2.03 KB) buildinfo.txt Suricata build information. Duarte Silva, 12/19/2013 07:48 AM
Actions

Also available in: Atom PDF