mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Merge pull request #6202 from philljj/zd15807
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)
|
||||
return ret;
|
||||
}
|
||||
else {
|
||||
else if (length == 1) {
|
||||
dcrl->crlNumber = buf[idx];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user