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 over 9 years ago. Updated over 9 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 #1

Updated by shen xiaohuan over 9 years ago

I'm sorry, the diff file I upload is incorrect. I attach the right file below. And just now, I find I'm not a developer in the project, so I hope @Victor Julien <> the author of the file to check the diff and patch to the project if my change was right.

Actions #2

Updated by Victor Julien over 9 years ago

Could you use github? We've documented the process here: Contributing

Actions #3

Updated by Victor Julien over 9 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF