You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To Reproduce http2_general.test_h2_stream_states.TestHalfClosedStreamStateUnexpectedFrames.test_reset_frame_in_half_closed_state with local setup on CI
We should zero `stream->msg` pointer in `tfw_h2_stream_unlink_nolock`
function regardless of whether we delete the message directly in this
function or not. If request is fully parsed it will be deleted later
in `tfw_http_resp_cache_cb->tfw_h2_resp_adjust_fwd` and if we don't
zero `stream->msg` in `tfw_h2_stream_unlink_nolock` we access
already freed request in `test_bit(TFW_HTTP_B_FULLY_PARSED, hmreq->flags)`.
Closes#2285
The original problem should be fixed by #2288 , but there possible existing or future memory leaks and probably we need to improve the architecure, see #2288 (review)
To Reproduce
http2_general.test_h2_stream_states.TestHalfClosedStreamStateUnexpectedFrames.test_reset_frame_in_half_closed_state
with local setup on CIConfiguration file
Version or commit hash
Tempesta - 4f68ea5
tempesta-test - a5918febfd207ed6f189ed67d97f4e3273d2d96b
kernel - 5.10.35.tfw-cf95567
Stacktrace or debug log
The text was updated successfully, but these errors were encountered: