Open
Description
_sbrk() in syscalls_sam3.c, does not contain any checks to see if the code is trying to acquired non-existent memory. This can lead malloc() and thus new to return pointers to either non-existent memory, or memory that belongs to the stack.
See https://forum.arduino.cc/t/ungraceful-handling-of-heap-depletion/1023509
Metadata
Metadata
Assignees
Labels
No labels