Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine developed by the OISF and the Suricata community.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Victor Julien b9aaf5a9ab Fix potential deadlock in output
Coverity:
** CID 1296115:  Program hangs  (ORDER_REVERSAL)
/src/tm-threads.c: 1670 in TmThreadClearThreadsFamily()

The problem is with the by default unused '%m' output parameter.
To get the thread vars it takes the tv_root_lock. This may already
be locked by the calling thread. Also, it could lead to a case of
wrong lock order between the tv_root_lock and the thread_store_lock.

Very unlikely to happen though.

As the %m param isn't really used (by default) this patch just
disables it.
11 years ago
benches
contrib Add option on Tile-Gx for logging for fast.log alerts over PCIe 13 years ago
doc Fix make distcheck on CentOS 5.11 12 years ago
lua output-lua: add SCPacketTimeString 12 years ago
m4
qa prscript: rework option logic 11 years ago
rules Duplicate rule ID. 11 years ago
scripts suricatasc: allow for longer response times after connect 11 years ago
src Fix potential deadlock in output 11 years ago
.gitignore unittest: make check use a qa/log dir for logging 13 years ago
.travis.yml travis-ci: use make check 12 years ago
COPYING
ChangeLog Update changelog for 2.1beta3 12 years ago
LICENSE
Makefile.am Respect DESTDIR in install-conf and install-rules. 12 years ago
Makefile.cvs
acsite.m4
autogen.sh OpenBSD 5.2 build fixes, Unit test fix. 14 years ago
classification.config
config.rpath Add file needed for some autotools version. 13 years ago
configure.ac Define _DEFAULT_SOURCE. Its the replacement for _BSD_SOURCE which 12 years ago
doxygen.cfg doxygen: add source browser 12 years ago
reference.config Update reference.config 12 years ago
suricata.yaml.in rules: add app layer events rules 12 years ago
threshold.config threshold: improve comments of shipped threshold.config, add links to wiki. 14 years ago