Commit Graph

18026 Commits (b1dacaf3948accc675dff42877c8b21e75f53a5f)
 

Author SHA1 Message Date
Victor Julien b1dacaf394 unittests: clean up memory for mpm tests 2 months ago
Victor Julien 6d54a4e8ba unittests: clean up memory for sigorder tests 2 months ago
Victor Julien f3c7877fb5 unittests: clean up memory for radix tests 2 months ago
Victor Julien a9b2707d62 unittests: clean up memory for reference tests 2 months ago
Victor Julien 14241754ab unittests: clean up memory for host os info tests 2 months ago
Victor Julien c2b391bfe8 unittests: clean up memory for threshold tests 2 months ago
Victor Julien 5b11241a46 unittests: clean up memory for classtype tests 2 months ago
Victor Julien 5ab8b8cd49 unittests: clean up memory for signature tests 2 months ago
Victor Julien d551881a7e unittests: clean up memory for stream tests 2 months ago
Victor Julien e777ccb125 unittests: clean up leaking payload test 2 months ago
Victor Julien c8cb029de9 unittests: disable LogCustomFormatTest01 for MinGW
Test was previously not run so it was missed that it fails.
2 months ago
Victor Julien 8d85777227 unittests: clean up detect port tests
Remove artificial insert test; fix memleaks; use more FAIL/PASS api
2 months ago
Victor Julien 2030f0a527 unittests: clean up magic tests
Remove dead code; Convert to FAIL/PASS API; fix mem leaks.
2 months ago
Victor Julien 8abab3e37e unittests: clean up memory in modbus tests 2 months ago
Victor Julien 68cc96a463 unittests: clean up memory in lua tests 2 months ago
Victor Julien 94397e177c unittests: convert log format test to FAIL/PASS api 2 months ago
Victor Julien 8dd86a0479 unittests: clean memory in tls validity tests 2 months ago
Victor Julien f23385b433 unittests: clean up memory for tcp.flags tests 2 months ago
Victor Julien cbaff02d66 unittests: clean up memory in ftp tests 2 months ago
Victor Julien ce4276bdd9 unittests: clean up memory in fragbits tests 2 months ago
Victor Julien b953c69938 unittests: clean memory flow rate tests 2 months ago
Victor Julien 7c0d94f35e unittests: clean memory in flowbits tests 2 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.
2 months ago
Victor Julien 700e687118 unittests: clean up conf memory in body tests 2 months ago
Victor Julien c06cb8af19 unittests: clean up memory for stateful detect tests 2 months ago
Victor Julien 57d1f20dfa unittests: don't leak memory with --list-unittests 2 months ago
Victor Julien ec6536ba75 unittests: free memory for proto tests 2 months ago
Victor Julien 37ad70ab59 unittests: don't leak memory in affinity tests 2 months ago
Victor Julien 65ba8952b5 unittests: clean stats memory in http.stat_msg tests 2 months ago
Victor Julien 9f0aefed48 unittests: clear stats memory in htp tests 2 months ago
Victor Julien fb4a805c69 unittests: clean stats memory in http.stat_code tests 2 months ago
Victor Julien 1e938cab92 unittests: clean stats memory in http.cookie tests 2 months ago
Victor Julien 73c1c489f7 unittests: don't leak memory in checks
Result of bstr_util_strdup_to_c needs to be freed
2 months ago
Victor Julien 28ae95e8da unittests: fix memory leaks; convert to FAIL/PASS 2 months ago
Victor Julien 87b683ff6d unittests: fix dcerpc.stub_data test testing the wrong issue
Tested missing sid instead of proto mismatch.
2 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.
2 months ago
Victor Julien 150bee3a46 unittests/helper: free flow memory more thoroughly 2 months ago
Victor Julien 9474c552d2 unittests/helper: free thread stats 2 months ago
Victor Julien b72d44f206 unittests/helper: set mpm-algo properly in tests 2 months ago
Victor Julien 1c30fcfe47 detect/address: make list clean function non-static
To be used to fix a leaky test.
2 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.
2 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
2 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
2 months ago
Philippe Antoine 7f0087f19a rust/detect: fix correct pointer type in SCDetectU32ArrayFree 2 months ago
Philippe Antoine 969739d067 detect: http2.errorcode is now a generic integer
Ticket: 7889
2 months ago
Philippe Antoine 401b2fcae6 detect: http2.frametype is now a generic integer
Ticket: 7889
2 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
2 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
2 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.
2 months ago
Jeff Lucovsky 0af7793410 output: Display ethertype properly
Ethertype values are now converted from network format to host format
before display occurs. Displayed values are now in hex instead of
integers.

Without this change, ethertype values such as 0xfbb7 are
displayed in decimal as: 47099 (0xb7fb).

The actual value is 64439 (0xfbb7); all logged ether_type values
will be displayed in host order in decimal format. This example
will log the ether type as 64439

Issue: 7855
2 months ago