mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
fix for out of bounds edge case CID 327299
This commit is contained in:
@ -13035,7 +13035,7 @@ static int GenerateDNSEntryRIDString(DNS_entry* entry, void* heap)
|
||||
j = 0;
|
||||
/* Append each number of dotted form. */
|
||||
for (i = 0; i < tmpSize; i++) {
|
||||
if (j > MAX_OID_SZ) {
|
||||
if (j >= MAX_OID_SZ) {
|
||||
return BUFFER_E;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user