[fpc-devel] possible unicode buffer overflow
Marc Weustink
marc at dommelstein.nl
Fri Apr 17 18:24:11 CEST 2026
Ignore it. My error.
Marc
On 17/04/2026 16:52, Marc Weustink via fpc-devel wrote:
>
>
> On 17/04/2026 16:40, Michael Van Canneyt via fpc-devel wrote:
>>
>>
>> On Fri, 17 Apr 2026, Marc Weustink via fpc-devel wrote:
>>
>>> I can't believe it, but ansistrings, resource loading, string
>>> formatting, all are affected and writing one, two or even more bytes
>>> behind the buffer.
>>
>> That sounds strange, we'd have much more error reports if this was the
>> case...
>
> That's why I can't believe it. However, since all mem is allocated in
> multiple of 32 bytes, you only run into it when allocating exactly a
> multiple of that.
>
> Anyway, I need to finish my piece of software before the end of this
> month, so I've little time to dive deeper into this.
>
> (For the product it isn't a problem, while I'm coding using FPC+Laz, the
> final product is build in Delphi)
>
> Marc
>
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
More information about the fpc-devel
mailing list