Project

General

Profile

Actions

Bug #1236

closed

don't check the value of 'tx_ud ' in file 'log-file.c:77'

Added by shen xiaohuan almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

These days, I've been using suricata to detect the files transfered by
HTTP and store the files. Yesterday, I found the suricata stopped and a
core file produced by suricata. Then I used gdb to find out the reason
why suricata coredumped, and the gdb showed suricata stopped at
'log-file.c:77', the content of the line is 'if
(tx_ud->request_uri_normalized != NULL) {' and the content of tx_ud is
0x0. So I change the code of log-file.c, the diff file I've attached as
an attachment. (release 2.0.1)


Files

log-file.c.diff (935 Bytes) log-file.c.diff shen xiaohuan, 07/09/2014 12:22 AM
log-file.c.diff (920 Bytes) log-file.c.diff shen xiaohuan, 07/10/2014 04:22 AM
Actions

Also available in: Atom PDF