Contact Details
No response
Version
a4e2d85
Description
The WC_ALLOC_VAR_EX call at
|
WC_ALLOC_VAR_EX(drbg, DRBG_internal, sizeof(DRBG_internal), heap, |
seems to have an invalid size specified:
WC_ALLOC_VAR_EX(drbg, DRBG_internal, sizeof(DRBG_internal), heap,
DYNAMIC_TYPE_TMP_BUFFER, WC_DO_NOTHING);
in an environment with WOLFSSL_SMALL_STACK defined, this macro basically results in calling:
wolfSSL_Malloc(sizeof(DRBG_internal) * sizeof(DRBG_internal));
which results in a malloc call for 16384 bytes
Reproduction steps
No response
Relevant log output
Contact Details
No response
Version
a4e2d85
Description
The
WC_ALLOC_VAR_EXcall atwolfssl/wolfcrypt/src/random.c
Line 1738 in a4e2d85
in an environment with
WOLFSSL_SMALL_STACKdefined, this macro basically results in calling:which results in a malloc call for 16384 bytes
Reproduction steps
No response
Relevant log output