You are not logged in.
Pages: 1
Hi,
I think we have bug for TSynTempBuffer.Init(SourceLen: integer); in newer versions of Delphi for TSynTempBuffer (declared as record).
The field tmp is not initialized so on the stack we lose trailing #0 (same for buf, the newly allocated memory is not initialized in any way, and may contain garbage data).
Is that by design?
best regards,
Maciej Izak
Offline
Pages: 1