]> 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:08 +0000 (15:14 +0200)
commite8d963594f8e2be6428e6244eee37e31ad7eca36
tree28e2614cd2017859508cac606e0b665fb67d8666
parent37aa1143c37a427e4f062725864976eb953a74a1
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)
ssl/quic/quic_wire_pkt.c