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.
In PmqMerge() use MpmAddSids() instead of blindly copying the src rule list onto the end of the dst rule list, since there might not be enough room in the dst list. MpmAddSids() will resize the dst array if needed. Also add code to MpmAddSids() MpmAddPid() to better handle the case that realloc fails to get more space. It first tries 2x the needed space, but if that fails, it tries for just 1x. If that fails resize returns 0. For MpmAddPid(), if resize fails, the new pid is lost. For MpmAddSids(), as many SIDs as will fit are added, but some will be lost. |
11 years ago | |
|---|---|---|
| benches | 17 years ago | |
| contrib | 12 years ago | |
| doc | 14 years ago | |
| lua | 12 years ago | |
| m4 | 16 years ago | |
| qa | 12 years ago | |
| rules | 12 years ago | |
| scripts | 12 years ago | |
| src | 11 years ago | |
| .gitignore | 13 years ago | |
| .travis.yml | 12 years ago | |
| COPYING | 17 years ago | |
| ChangeLog | 12 years ago | |
| LICENSE | 17 years ago | |
| Makefile.am | 11 years ago | |
| Makefile.cvs | 17 years ago | |
| acsite.m4 | 17 years ago | |
| autogen.sh | 14 years ago | |
| classification.config | 16 years ago | |
| config.rpath | 13 years ago | |
| configure.ac | 11 years ago | |
| doxygen.cfg | 12 years ago | |
| reference.config | 11 years ago | |
| suricata.yaml.in | 11 years ago | |
| threshold.config | 14 years ago | |