You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found a possible bug wherein mbedtls is unable to allocate memory for its internals, maybe because of lack of configurations..
#include<Arduino.h>
#include"mbedtls/platform.h"// put function declarations here:voidtryAlloc();
voidsetup() {
// put your setup code here, to run once:
Serial.begin(115200);
tryAlloc();
}
voidloop() {
// put your main code here, to run repeatedly:
}
voidtryAlloc(){
auto p = mbedtls_calloc(10,0);
Serial.printf("mbedtls_calloc %s\n", p ? "SUCCEEDED" : "FAILED");
if (p) { mbedtls_free(p); }
}
Hi there,
I've found a possible bug wherein mbedtls is unable to allocate memory for its internals, maybe because of lack of configurations..
PlatformIO configuration:
Output:
The text was updated successfully, but these errors were encountered: