[Oisf-devel] an advise for file 'log-file.c' in suricata project
sxhlinux
sxhlinux at 163.com
Wed Jul 2 02:30:04 UTC 2014
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log-file.c.diff
Type: text/x-patch
Size: 935 bytes
Desc: not available
URL: <http://lists.openinfosecfoundation.org/pipermail/oisf-devel/attachments/20140702/c3236a9c/attachment.bin>
More information about the Oisf-devel
mailing list