-
Notifications
You must be signed in to change notification settings - Fork 938
Closed
Labels
Description
Contact Details
No response
Version
Description
The WC_ALLOC_VAR_EX call at
wolfssl/wolfcrypt/src/random.c
Line 1738 in a4e2d85
| WC_ALLOC_VAR_EX(drbg, DRBG_internal, sizeof(DRBG_internal), heap, |
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
Reactions are currently unavailable