Add a missing change in the second part of the CVE-2025-46806 fix

This commit is contained in:
Adrian Bunk authored and Yves Rutschle committed 2025-06-19 22:34:30 +02:00
1 parent bd9ed060e4
commit cd9b85fd4f
1 file changed
+1 -1
+1 -1
View File
@@ -190,7 +190,7 @@ static int is_openvpn_protocol (const char*p,ssize_t len, struct sslhcfg_protoco
memcpy(&i, (p + OVPN_HARD_RESET_PACKET_ID_OFFSET(OVPN_HMAC_160)), sizeof(i));
i = ntohl(i);
if (ntohl(*(uint32_t*)(p + OVPN_HARD_RESET_PACKET_ID_OFFSET(OVPN_HMAC_160))) <= 5u)
if (i <= 5u)
return PROBE_MATCH;
return PROBE_NEXT;