From 35bc34d4968d41acbbb85710739614f03cf79f22 Mon Sep 17 00:00:00 2001 From: pr-hung Date: Fri, 26 Dec 2025 08:15:43 +0800 Subject: [PATCH] Fix potential vulnerability in cloned code (3rdparty/openssl-OpenSSL_1_0_2i/ssl/d1_pkt.c) --- 3rdparty/openssl-OpenSSL_1_0_2i/ssl/d1_pkt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/openssl-OpenSSL_1_0_2i/ssl/d1_pkt.c b/3rdparty/openssl-OpenSSL_1_0_2i/ssl/d1_pkt.c index 7a02459f2..dad8f8ff4 100644 --- a/3rdparty/openssl-OpenSSL_1_0_2i/ssl/d1_pkt.c +++ b/3rdparty/openssl-OpenSSL_1_0_2i/ssl/d1_pkt.c @@ -248,8 +248,8 @@ dtls1_buffer_record(SSL *s, record_pqueue *queue, unsigned char *priority) /* Limit the size of the queue to prevent DOS attacks */ if (pqueue_size(queue->q) >= 100) - return 0; + return 0; rdata = OPENSSL_malloc(sizeof(DTLS1_RECORD_DATA)); item = pitem_new(priority, rdata); if (rdata == NULL || item == NULL) {