Without this, a double free can occur when a display (and terminal) is released and then a crash occurs. Upon a second release, different memory is released (sometimes the heap). When this is followed by an allocation for the flash cache, the cache can overwrite the active heap causing crashes. Fixes #1667 |
||
|---|---|---|
| .. | ||
| messages | ||
| shared | ||
| stub | ||
| cpu.h | ||
| filesystem.h | ||
| flash.h | ||
| flash_root_pointers.h | ||
| memory.h | ||
| port.h | ||
| serial.h | ||
| spi_flash_api.h | ||
| supervisor.mk | ||
| usb.h | ||