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
Steve Grubb c95cd2e80a memory leak cleanups in misc places
Hello,

This is all the rest of the memory leaks I found.

*In src/source-pcap-file.c at line 152, ptv is not being freed.
*In src/util-unittest-helper.c at line 152, p was not being freed.
*In src/log-httplog.c at line 195, aft was not being freed
*In src/counters.c at line 51, log_filename was not being freed. At line 1188
pctx is being tested to see if its NULL. However, at 1173 it exits the
function if it were NULL. This test is not needed and should be deleted.
*In src/defrag.c at line 351, tracker was not being freed. At line 390, dc is
being checked for NULL but this was already done at line 384. Probably what
was meant was checking the value of dc->frag_table which was just assigned.

The patch below makes the above described changes.

-Steve
15 years ago
benches
doc Mention that libpfring 4.0 is required for our pfring support. 15 years ago
src memory leak cleanups in misc places 15 years ago
COPYING
ChangeLog
LICENSE import of gplv2 LICENSE 15 years ago
Makefile.am
Makefile.cvs
acsite.m4
autojunk.sh
config.guess
config.h.in build update 15 years ago
config.sub
configure.in Make sure pcre PCRE_EXTRA_MATCH_LIMIT_RECURSION check works with strict compiler settings. 15 years ago
depcomp
doxygen.cfg
install-sh
ltmain.sh
missing
mkinstalldirs
suricata.yaml Require that the configuration file begins with a valid YAML version. At this time this means the configuration file must begin with 15 years ago