]> 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:26 +0000 (11:24 +0100)
commit4ad45969b028dbf2521fa42ea463978402b3584b
tree7ff35fa1c33d9b5188f00781ab8bd1af15973c7b
parentf2488a567ba3376c7d2e2cb4567a20111c6df23b
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)
ssl/quic/quic_tls.c