fix for out of bounds edge case CID 327299

This commit is contained in:
JacobBarthelmeh 2023-10-16 13:34:05 -06:00
parent ed001829df
commit 3c23f39437

View File

@ -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;
}