pine64 icon indicating copy to clipboard operation
pine64 copied to clipboard

Fix access to potentially freed memory, always initialize sram buffer

Open StefanBruens opened this issue 9 years ago • 0 comments

  • Initialize new buffer, not the buffer which may have been freed during reallocation
  • growing sram_size without realloc_zero may leave parts of sram_buf unitialized.

boot0img created undeterministic images on aarch64, errors were confirmed by valgrind.

StefanBruens avatar Nov 15 '16 04:11 StefanBruens