I can allocate / free / read / write heap memory in normal code, but when I use f_Read with a destination that is on the heap parts of the destination are not written with the contents read from the file.
Often it's 4, 8, 32 bytes at the start of the buffer, but sometimes other locations and sizes.
What is causing this and how can I fix it and/or debug it?
Thanks.