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.
For convenience, a massive usage of 'Packet p;' declaration has been done in the tests function. Although this was completely legal, this is not possible anymore because of the new Packet allocation structure. This massive patch modifies all suricata files to use a SCMalloc allocated pointer to Packet instead. This patch has been done using coccinelle (http://coccinelle.lip6.fr) which is a semantic patching tool. This ensures that things like call to SCFree() should have not been forget because the semantic patch explicitly forces the call to SCFree(p) before each return. With this patch all unittests are running fine with a small and a big default packet size. |
16 years ago | |
|---|---|---|
| benches | 17 years ago | |
| doc | 16 years ago | |
| libhtp | 16 years ago | |
| m4 | 17 years ago | |
| qa | 16 years ago | |
| src | 16 years ago | |
| .gitignore | 16 years ago | |
| COPYING | 17 years ago | |
| ChangeLog | 17 years ago | |
| LICENSE | 17 years ago | |
| Makefile.am | 16 years ago | |
| Makefile.cvs | 17 years ago | |
| acsite.m4 | 17 years ago | |
| autogen.sh | 16 years ago | |
| classification.config | 17 years ago | |
| config.h.in | 16 years ago | |
| configure.in | 16 years ago | |
| depcomp | 17 years ago | |
| doxygen.cfg | 17 years ago | |
| install-sh | 17 years ago | |
| missing | 17 years ago | |
| mkinstalldirs | 17 years ago | |
| reference.config | 16 years ago | |
| suricata.yaml | 16 years ago | |