From 3cd54260292e58c81bb0529252f645b4e9e66bfc Mon Sep 17 00:00:00 2001 From: Jon Chiappetta Date: Mon, 3 Nov 2025 21:26:27 -0500 Subject: [PATCH] Invalid Index --- src/openvpn/ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openvpn/ssl.c b/src/openvpn/ssl.c index 908854a398a..9132dff57d9 100644 --- a/src/openvpn/ssl.c +++ b/src/openvpn/ssl.c @@ -3679,7 +3679,7 @@ tls_pre_decrypt(struct tls_multi *multi, const struct link_socket_actual *from, * multi->session: Possible initial packet. New sessions always start * as TM_INITIAL */ - if (i == TM_SIZE && is_hard_reset_method2(op)) + if (i == TM_SIZE || is_hard_reset_method2(op)) { /* * No match with existing sessions,