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 1358124: Null pointer dereferences (REVERSE_INULL)
/src/detect-engine-mpm.c: 940 in MpmStoreSetup()
934 PopulateMpmHelperAddPatternToPktCtx(ms->mpm_ctx,
935 cd, s, 0, (cd->flags & DETECT_CONTENT_FAST_PATTERN_CHOP));
936 }
937 }
938 }
939
>>> CID 1358124: Null pointer dereferences (REVERSE_INULL)
>>> Null-checking "ms->mpm_ctx" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
940 if (ms->mpm_ctx != NULL) {
941 if (ms->mpm_ctx->pattern_cnt == 0) {
942 MpmFactoryReClaimMpmCtx(de_ctx, ms->mpm_ctx);
943 ms->mpm_ctx = NULL;
944 } else {
945 if (ms->sgh_mpm_context == MPM_CTX_FACTORY_UNIQUE_CONTEXT) {
|
10 years ago | |
|---|---|---|
| benches | ||
| contrib | 11 years ago | |
| doc | 12 years ago | |
| lua | 12 years ago | |
| m4 | ||
| qa | 10 years ago | |
| rules | 10 years ago | |
| scripts | 11 years ago | |
| src | 10 years ago | |
| .gitignore | 13 years ago | |
| .travis.yml | 11 years ago | |
| COPYING | 11 years ago | |
| ChangeLog | 10 years ago | |
| LICENSE | 11 years ago | |
| Makefile.am | 11 years ago | |
| Makefile.cvs | ||
| acsite.m4 | ||
| autogen.sh | 14 years ago | |
| classification.config | ||
| config.rpath | 13 years ago | |
| configure.ac | 10 years ago | |
| doxygen.cfg | 12 years ago | |
| reference.config | 12 years ago | |
| suricata.yaml.in | 10 years ago | |
| threshold.config | 14 years ago | |