Bug #1236
closeddon't check the value of 'tx_ud ' in file 'log-file.c:77'
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
Updated by shen xiaohuan over 10 years ago
- File log-file.c.diff log-file.c.diff added
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 <victor@inliniac.net> the author of the file to check the diff and patch to the project if my change was right.
Updated by Victor Julien over 10 years ago
Could you use github? We've documented the process here: Contributing
Updated by Victor Julien over 10 years ago
- Status changed from New to Closed
Fixed through https://github.com/inliniac/suricata/pull/1024, thanks!