]> git.ipfire.org Git - thirdparty/suricata.git/commit
range: prevents memory leak of file from HTTP2
authorPhilippe Antoine <contact@catenacyber.fr>
Tue, 23 Nov 2021 12:59:47 +0000 (13:59 +0100)
committerVictor Julien <vjulien@oisf.net>
Wed, 24 Nov 2021 07:07:47 +0000 (08:07 +0100)
commit0caaf6bd23afac5fbf370aeb3d3310f38e938087
tree4f7813fdd5e1dd7c8c0ff1a38d3c275d037d0f04
parent86f5d33f75da4087a76e1df7789f2695bbbc1001
range: prevents memory leak of file from HTTP2

Ticket: 4811
Completes commit c023116857426137eb0c7240b80e99a8940f3c5b

state.free should also close files with ranges
as state.free_tx did already

And file_range field should be reset so that there is no
use after free.
rust/src/http2/http2.rs