]> git.ipfire.org Git - thirdparty/openssl.git/commit
Don't decrement the unreleased counter if we failed to release a record
authorMatt Caswell <matt@openssl.org>
Tue, 18 Mar 2025 12:05:08 +0000 (12:05 +0000)
committerTomas Mraz <tomas@openssl.org>
Thu, 20 Mar 2025 10:24:57 +0000 (11:24 +0100)
commit81789a05b7e2d8ba69955addaa413796007e3eb6
tree8b88f98599023efd481c6a00c9a32e2a1b379a9c
parenta9b87830c9bce12be9a6f3fc8b097d335fe15502
Don't decrement the unreleased counter if we failed to release a record

In a failure situation we may incorrectly decrement the amount of data
released. Only decrement the counter if we successfully released.

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27091)

(cherry picked from commit 4ad45969b028dbf2521fa42ea463978402b3584b)
ssl/quic/quic_tls.c