Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine developed by the OISF and the Suricata community.
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.
 
 
 
 
 
 
Go to file
Victor Julien ba035e601e hyperscan: fix minor coverity warning 1358023
*** CID 1358023:  Null pointer dereferences  (REVERSE_INULL)
/src/util-mpm-hs.c: 860 in SCHSDestroyThreadCtx()
854         if (thr_ctx->scratch != NULL) {
855             hs_free_scratch(thr_ctx->scratch);
856             mpm_thread_ctx->memory_cnt--;
857             mpm_thread_ctx->memory_size -= thr_ctx->scratch_size;
858         }
859
>>>     CID 1358023:  Null pointer dereferences  (REVERSE_INULL)
>>>     Null-checking "mpm_thread_ctx->ctx" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
860         if (mpm_thread_ctx->ctx != NULL) {
861             SCFree(mpm_thread_ctx->ctx);
862             mpm_thread_ctx->ctx = NULL;
863             mpm_thread_ctx->memory_cnt--;
864             mpm_thread_ctx->memory_size -= sizeof(SCHSThreadCtx);
865         }
10 years ago
benches
contrib suri-graphite: add ouput to file option 11 years ago
doc Fix make distcheck on CentOS 5.11 11 years ago
lua output-lua: add SCPacketTimeString 11 years ago
m4
qa hyperscan: add DrMemory suppressions 10 years ago
rules rules: add rules for TLS SNI app layer events 10 years ago
scripts app-layer setup scripts: enable new modules on copy 10 years ago
src hyperscan: fix minor coverity warning 1358023 10 years ago
.gitignore unittest: make check use a qa/log dir for logging 13 years ago
.travis.yml travis: set CFLAGS to error on cc warnings 10 years ago
COPYING GPL license sync with official gpl-2.0.txt 10 years ago
ChangeLog changelog: update for 3.0.1RC1 10 years ago
LICENSE GPL license sync with official gpl-2.0.txt 10 years ago
Makefile.am build: install app-layer-events.rules 10 years ago
Makefile.cvs
acsite.m4
autogen.sh OpenBSD 5.2 build fixes, Unit test fix. 13 years ago
classification.config
config.rpath Add file needed for some autotools version. 13 years ago
configure.ac mpm: add Hyperscan integration 10 years ago
doxygen.cfg doxygen: add source browser 12 years ago
reference.config Update reference.config 11 years ago
suricata.yaml.in smtp: fix config parsing and config defaults 10 years ago
threshold.config threshold: improve comments of shipped threshold.config, add links to wiki. 13 years ago