[Oisf-devel] an advise for file 'log-file.c' in suricata project

Victor Julien victor at inliniac.net
Wed Jul 2 10:28:49 UTC 2014

On 07/02/2014 04:30 AM, sxhlinux wrote:
> 	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)

Good catch.

The preferred way of submitting patches is through github, the process
is documented here:

Victor Julien
PGP: http://www.inliniac.net/victorjulien.asc

More information about the Oisf-devel mailing list