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.
The loop is freeing elements so we need to use the safe version
of TIALQ_FOREACH.
This fixes a valgrind error:
Thread 1 Suricata-Main:
Invalid read of size 8
at 0x8E129C: LiveDeviceListClean (util-device.c:167)
by 0x89B742: main (suricata.c:2284)
Address 0x8382988 is 24 bytes inside a block of size 40 free'd
at 0x4C2A70C: free (vg_replace_malloc.c:468)
by 0x8E1297: LiveDeviceListClean (util-device.c:179)
by 0x89B742: main (suricata.c:2284)
|
13 years ago | |
|---|---|---|
| benches | 17 years ago | |
| contrib | 13 years ago | |
| doc | 14 years ago | |
| m4 | 17 years ago | |
| qa | 13 years ago | |
| rules | 13 years ago | |
| scripts | 14 years ago | |
| src | 13 years ago | |
| .gitignore | 13 years ago | |
| COPYING | 17 years ago | |
| ChangeLog | 13 years ago | |
| LICENSE | 17 years ago | |
| Makefile.am | 13 years ago | |
| Makefile.cvs | 17 years ago | |
| acsite.m4 | 17 years ago | |
| autogen.sh | 14 years ago | |
| classification.config | 17 years ago | |
| config.rpath | 13 years ago | |
| configure.ac | 13 years ago | |
| doxygen.cfg | 13 years ago | |
| reference.config | 15 years ago | |
| suricata.yaml.in | 13 years ago | |
| threshold.config | 14 years ago | |