mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +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;
|
j = 0;
|
||||||
/* Append each number of dotted form. */
|
/* Append each number of dotted form. */
|
||||||
for (i = 0; i < tmpSize; i++) {
|
for (i = 0; i < tmpSize; i++) {
|
||||||
if (j > MAX_OID_SZ) {
|
if (j >= MAX_OID_SZ) {
|
||||||
return BUFFER_E;
|
return BUFFER_E;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user