Welcome! Log In Create A New Profile

Advanced

[nginx] QUIC: prevented BIO leak in case of error.

Anonymous User
November 25, 2024 07:24AM
details: https://github.com/nginx/nginx/commit/0864cca4d74e215acdcab20a68e025c6e3ee9efa
branches: master
commit: 0864cca4d74e215acdcab20a68e025c6e3ee9efa
user: Roman Arutyunyan <arut@nginx.com>
date: Fri, 22 Nov 2024 11:38:06 +0400
description:
QUIC: prevented BIO leak in case of error.


---
src/event/quic/ngx_event_quic_openssl_compat.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/src/event/quic/ngx_event_quic_openssl_compat.c b/src/event/quic/ngx_event_quic_openssl_compat.c
index c7412e82b..6052bc683 100644
--- a/src/event/quic/ngx_event_quic_openssl_compat.c
+++ b/src/event/quic/ngx_event_quic_openssl_compat.c
@@ -391,6 +391,7 @@ SSL_set_quic_method(SSL *ssl, const SSL_QUIC_METHOD *quic_method)

wbio = BIO_new(BIO_s_null());
if (wbio == NULL) {
+ BIO_free(rbio);
return 0;
}

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] QUIC: prevented BIO leak in case of error.

Anonymous User 125 November 25, 2024 07:24AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 204
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready