[fpc-devel] TFile.ReadAllBytes broken in 3.2.4RC1
Bart
bartjunk64 at gmail.com
Sun Nov 2 20:22:49 CET 2025
On Sun, Nov 2, 2025 at 1:58 PM Bart <bartjunk64 at gmail.com> wrote:
> ReadBuffer(Result,0); << second param should be "Size"
Not sure, but this (ReadBuffer(Result,Size);) seems to crash then
(memory corruption)?
This:
ReadBuffer(Result[0],Size);
seems to work OK though.
(Should be save even if Size is zero, since ReadBuffer does nothing then)
--
Bart
More information about the fpc-devel
mailing list