forked from wolfSSL/wolfssl
Fix out-of-bounds read in CRL parsing
This commit is contained in:
@ -35655,7 +35655,7 @@ static int ParseCRL_Extensions(DecodedCRL* dcrl, const byte* buf,
|
|||||||
if (ret != 0)
|
if (ret != 0)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
else {
|
else if (length == 1) {
|
||||||
dcrl->crlNumber = buf[idx];
|
dcrl->crlNumber = buf[idx];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user