patch for GHSA-v474-mv4g-v8cx

edited by inspection not compiled or run-time tested
This commit is contained in:
cypherbridge
2025-05-27 19:38:43 -07:00
committed by GitHub
parent cd34ed2ab2
commit 0095a25b7a

View File

@@ -18586,6 +18586,11 @@ INT buffer_length;
/* The buffer pointer is moved by the length. Update buffer size */
buffer_length -= (INT)length;
/* GHSA-v474-mv4g-v8cx */
if (buffer_length < 2) {
return;
}
/**** Now we are positioned in front of the security parameters field. ****/
/* Determine if there are security parameters. */