inttostr crashes malloc
Original Reporter info from Mantis: cosmin.apreutesei
-
Reporter name: Cosmin Apreutesei
Original Reporter info from Mantis: cosmin.apreutesei
- Reporter name: Cosmin Apreutesei
Description:
after a call to inttostr(), malloc() crashes.
Steps to reproduce:
uses cmem, sysutils;
begin
inttostr(1234);
malloc(1000); //crashes here
end.
Additional information:
links against msvcrt.dll (not 9.0 or even 8.0 which I have installed -- maybe that's not useful info -- I'm a fpc noob)
Mantis conversion info:
- Mantis ID: 15571
- OS: Windows XP
- OS Build: SP3
- Platform: Win32
- Version: 2.4.0
- Fixed in version: 2.6.0
- Fixed in revision: 19003 (#7bfb72df)