[fpc-devel] StrDispose FreeMem with size

Micha Nelissen micha at neli.hopto.org
Fri Oct 13 09:05:53 CEST 2006


Peter Vreman wrote:
>> Hi,
>>
>> At cutils line 926, FreeMem is called for p with size strlen(p)+1. Could
>> it be that actually a much bigger block was allocated, and not size
>> strlen(p)+1 ?
> 
> The size parameter is ignored by the heap manager.

That's two bugs, then :).

Micha



More information about the fpc-devel mailing list