]> git.ipfire.org Git - thirdparty/suricata.git/commit
range: prevents memory leak of file from HTTP2
authorPhilippe Antoine <contact@catenacyber.fr>
Mon, 8 Nov 2021 12:33:27 +0000 (13:33 +0100)
committerVictor Julien <vjulien@oisf.net>
Mon, 22 Nov 2021 10:27:26 +0000 (11:27 +0100)
commitc023116857426137eb0c7240b80e99a8940f3c5b
treea2697a9168670697a0301d62b7c14bfb706d365e
parent15649424a76d01eb332d85620ffc4956d4f3d9be
range: prevents memory leak of file from HTTP2

If a HTTP2 transaction gets freed before the end of the range
request, we need to have the files container which is in
the state, to transfer owernship of this file to the files
container.

Ticket: 4811
rust/src/http2/http2.rs
src/app-layer-htp-file.c