Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fat: Fix stack corruption on 64 bit due to wrong count type.
On 64 bit platforms a 64 bit size_t was written at the (incorrect) uint32 on the stack, causing the adjacent bytes variable to be clobbered. Because of this, the vectors wouldn't actually be filled with any file data, making the content of files inacessible.
- Loading branch information