Commit Graph

18177 Commits (e5994deb23296254e285471103065bf875bfbf1e)
 

Author SHA1 Message Date
Victor Julien 948d9a805c unittests: clean up memory for ssh tests
Flow requires IP proto to be set for flow cleanup to work.
10 months ago
Victor Julien b1dacaf394 unittests: clean up memory for mpm tests 10 months ago
Victor Julien 6d54a4e8ba unittests: clean up memory for sigorder tests 10 months ago
Victor Julien f3c7877fb5 unittests: clean up memory for radix tests 10 months ago
Victor Julien a9b2707d62 unittests: clean up memory for reference tests 10 months ago
Victor Julien 14241754ab unittests: clean up memory for host os info tests 10 months ago
Victor Julien c2b391bfe8 unittests: clean up memory for threshold tests 10 months ago
Victor Julien 5b11241a46 unittests: clean up memory for classtype tests 10 months ago
Victor Julien 5ab8b8cd49 unittests: clean up memory for signature tests 10 months ago
Victor Julien d551881a7e unittests: clean up memory for stream tests 10 months ago
Victor Julien e777ccb125 unittests: clean up leaking payload test 10 months ago
Victor Julien c8cb029de9 unittests: disable LogCustomFormatTest01 for MinGW
Test was previously not run so it was missed that it fails.
10 months ago
Victor Julien 8d85777227 unittests: clean up detect port tests
Remove artificial insert test; fix memleaks; use more FAIL/PASS api
10 months ago
Victor Julien 2030f0a527 unittests: clean up magic tests
Remove dead code; Convert to FAIL/PASS API; fix mem leaks.
10 months ago
Victor Julien 8abab3e37e unittests: clean up memory in modbus tests 10 months ago
Victor Julien 68cc96a463 unittests: clean up memory in lua tests 10 months ago
Victor Julien 94397e177c unittests: convert log format test to FAIL/PASS api 10 months ago
Victor Julien 8dd86a0479 unittests: clean memory in tls validity tests 10 months ago
Victor Julien f23385b433 unittests: clean up memory for tcp.flags tests 10 months ago
Victor Julien cbaff02d66 unittests: clean up memory in ftp tests 10 months ago
Victor Julien ce4276bdd9 unittests: clean up memory in fragbits tests 10 months ago
Victor Julien b953c69938 unittests: clean memory flow rate tests 10 months ago
Victor Julien 7c0d94f35e unittests: clean memory in flowbits tests 10 months ago
Victor Julien e2d09fbd5e unittests: clean memory in flow storage tests
Before tests are started an init is already done, so don't overwrite an allocation.
10 months ago
Victor Julien 700e687118 unittests: clean up conf memory in body tests 10 months ago
Victor Julien c06cb8af19 unittests: clean up memory for stateful detect tests 10 months ago
Victor Julien 57d1f20dfa unittests: don't leak memory with --list-unittests 10 months ago
Victor Julien ec6536ba75 unittests: free memory for proto tests 10 months ago
Victor Julien 37ad70ab59 unittests: don't leak memory in affinity tests 10 months ago
Victor Julien 65ba8952b5 unittests: clean stats memory in http.stat_msg tests 10 months ago
Victor Julien 9f0aefed48 unittests: clear stats memory in htp tests 10 months ago
Victor Julien fb4a805c69 unittests: clean stats memory in http.stat_code tests 10 months ago
Victor Julien 1e938cab92 unittests: clean stats memory in http.cookie tests 10 months ago
Victor Julien 73c1c489f7 unittests: don't leak memory in checks
Result of bstr_util_strdup_to_c needs to be freed
10 months ago
Victor Julien 28ae95e8da unittests: fix memory leaks; convert to FAIL/PASS 10 months ago
Victor Julien 87b683ff6d unittests: fix dcerpc.stub_data test testing the wrong issue
Tested missing sid instead of proto mismatch.
10 months ago
Victor Julien 74f629d235 unittests/helper: free memory for IPv6 packets
IPv6 packets have multiple heap allocations in the helper code, so free them all.
10 months ago
Victor Julien 150bee3a46 unittests/helper: free flow memory more thoroughly 10 months ago
Victor Julien 9474c552d2 unittests/helper: free thread stats 10 months ago
Victor Julien b72d44f206 unittests/helper: set mpm-algo properly in tests 10 months ago
Victor Julien 1c30fcfe47 detect/address: make list clean function non-static
To be used to fix a leaky test.
10 months ago
Victor Julien ce9c7a024e detect/content: don't leak replace memory
Replace keyword updates a prior content with a heap allocation of the
pattern the content should be replaced with. Make sure this is freed as
well.

Bug: #7997.
10 months ago
Philippe Antoine 3babd68af4 pop3: count retr_data into consumed
for later AppLayerResult::incomplete

Fixes: acef961645 ("pop3: improve parsing")

https://issues.oss-fuzz.com/u/1/issues/451112373

Ticket: 7994
10 months ago
Philippe Antoine 9a4a29e218 http2: fix parsing of goaway frames
There was a last stream id before the error code
As per section 6.8 of RFC 7540

Ticket: 7991
10 months ago
Philippe Antoine 7f0087f19a rust/detect: fix correct pointer type in SCDetectU32ArrayFree 10 months ago
Philippe Antoine 969739d067 detect: http2.errorcode is now a generic integer
Ticket: 7889
10 months ago
Philippe Antoine 401b2fcae6 detect: http2.frametype is now a generic integer
Ticket: 7889
10 months ago
Philippe Antoine 454f73b445 rust: EnumString derive accepts a enum_string_style parameter
So that http2.frametype and http2.errorcode can use EnumString
without changing the format, as they used UPPERCASE instead of
the default EnumString snake_case
10 months ago
Philippe Antoine 0b63894c5d detect: remove ifdefed out code
engine-proto accepting numerical values should be done with
generic integer framework if wanted

Ticket: 7889
10 months ago
Jeff Lucovsky 16d124cfda doc/output: Highlight ethertype value change
Issue: 7855

Highlight the change to how ether_type values are displayed. Previously,
they were displayed in network order as a decimal value.

They are now displayed in host order as a decimal value.
10 months ago