]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix memory leaks in ossl_quic_calculate_retry_integrity_tag()
authorNiels Dossche <7771979+nielsdos@users.noreply.github.com>
Tue, 8 Oct 2024 14:03:13 +0000 (16:03 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 23 Oct 2024 13:14:55 +0000 (15:14 +0200)
commit9ce28d5b4bce77bc95ce44f77b6ed1a9d582ecdd
tree7519d6d49481de41eabd3aa3f7dac8aac327caf4
parent343236ae524b84f4fd9523cd9e74859cd32850e8
Fix memory leaks in ossl_quic_calculate_retry_integrity_tag()

Fixes #25625

Several error paths return 0 directly instead of going to err to clean
up the objects.

CLA: trivial

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25636)

(cherry picked from commit e8d963594f8e2be6428e6244eee37e31ad7eca36)
ssl/quic/quic_wire_pkt.c