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 0c1696f84b pcap-log: unify lock handling, fixes Coverity warn
*** CID 1229124:  Data race condition  (MISSING_LOCK)
/src/log-pcap.c: 363 in PcapLog()
357         {
358             return TM_ECODE_OK;
359         }
360
361         PcapLogLock(pl);
362
>>>     CID 1229124:  Data race condition  (MISSING_LOCK)
>>>     Accessing "pl->pkt_cnt" without holding lock "PcapLogData_.plog_lock". Elsewhere, "PcapLogData_.pkt_cnt" is accessed with "PcapLogData_.plog_lock" held 1 out of 2 times (1 of these accesses strongly imply that it is necessary).
363         pl->pkt_cnt++;
364         pl->h->ts.tv_sec = p->ts.tv_sec;
365         pl->h->ts.tv_usec = p->ts.tv_usec;
366         pl->h->caplen = GET_PKT_LEN(p);
367         pl->h->len = GET_PKT_LEN(p);
368         len = sizeof(*pl->h) + GET_PKT_LEN(p);
11 years ago
benches Initial add of the files. 17 years ago
contrib Add option on Tile-Gx for logging for fast.log alerts over PCIe 12 years ago
doc Update docs from wiki 13 years ago
m4 Prelude plugin: add detection in configure script 16 years ago
qa coccinelle: fix problem with coccinelle 1.0rc21 11 years ago
rules tls: check SSL3/TLS version per record 12 years ago
scripts fix regression in 'make distclean' due to commit cd305c3a 12 years ago
src pcap-log: unify lock handling, fixes Coverity warn 11 years ago
.gitignore unittest: make check use a qa/log dir for logging 13 years ago
.travis.yml travis-ci: use make check 11 years ago
COPYING Initial add of the files. 17 years ago
ChangeLog Update Changelog for 2.0.2 release 12 years ago
LICENSE import of gplv2 LICENSE 16 years ago
Makefile.am make install-full: get correct version of ET 12 years ago
Makefile.cvs Initial add of the files. 17 years ago
acsite.m4 Added C99 defs/macros to acsite.m4 for CentOS 16 years ago
autogen.sh OpenBSD 5.2 build fixes, Unit test fix. 13 years ago
classification.config Import of classification.config 16 years ago
config.rpath Add file needed for some autotools version. 13 years ago
configure.ac autotools: enable silent mode 12 years ago
doxygen.cfg doxygen: add source browser 12 years ago
reference.config Add md5 to reference.config. 14 years ago
suricata.yaml.in flow-recycler: support multiple instances 12 years ago
threshold.config threshold: improve comments of shipped threshold.config, add links to wiki. 13 years ago