mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Merge pull request #7741 from douzzer/20240714-asn-Wconversion
20240714-asn-Wconversion
This commit is contained in:
@ -2306,7 +2306,7 @@ int GetLength_ex(const byte* input, word32* inOutIdx, int* len, word32 maxIdx,
|
||||
}
|
||||
|
||||
/* Check the number of bytes required are available. */
|
||||
if ((idx + bytes) > maxIdx) {
|
||||
if ((idx + (word32)bytes) > maxIdx) {
|
||||
WOLFSSL_MSG("GetLength - bad long length");
|
||||
return BUFFER_E;
|
||||
}
|
||||
|
Reference in New Issue
Block a user