mirror of https://github.com/OISF/suricata
cybersecurityidsintrusion-detection-systemintrusion-prevention-systemipsnetwork-monitornetwork-monitoringnsmsecuritysuricatathreat-hunting
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.
*** 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 | 17 years ago | |
| contrib | 12 years ago | |
| doc | 13 years ago | |
| m4 | 16 years ago | |
| qa | 11 years ago | |
| rules | 12 years ago | |
| scripts | 12 years ago | |
| src | 11 years ago | |
| .gitignore | 13 years ago | |
| .travis.yml | 11 years ago | |
| COPYING | 17 years ago | |
| ChangeLog | 12 years ago | |
| LICENSE | 16 years ago | |
| Makefile.am | 12 years ago | |
| Makefile.cvs | 17 years ago | |
| acsite.m4 | 16 years ago | |
| autogen.sh | 13 years ago | |
| classification.config | 16 years ago | |
| config.rpath | 13 years ago | |
| configure.ac | 12 years ago | |
| doxygen.cfg | 12 years ago | |
| reference.config | 14 years ago | |
| suricata.yaml.in | 12 years ago | |
| threshold.config | 13 years ago | |