mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 12:44:45 +02:00
Fixed CID 13482
This commit is contained in:
@@ -21495,7 +21495,7 @@ exit_dpk:
|
||||
ato16(input + *inOutIdx, &len);
|
||||
*inOutIdx += OPAQUE16_LEN;
|
||||
|
||||
if ((*inOutIdx - begin) + len > size)
|
||||
if ((len > size) || ((*inOutIdx - begin) + len > size))
|
||||
return BUFFER_ERROR;
|
||||
|
||||
if (PickHashSigAlgo(ssl, input + *inOutIdx, len) != 0 &&
|
||||
|
Reference in New Issue
Block a user