MacOSX: crash in my app because of TLazIntfImage
Original Reporter info from Mantis: Alextp
-
Reporter name: CudaText man
Original Reporter info from Mantis: Alextp
- Reporter name: CudaText man
Description:
MacOSX 10.8.x (I cannot see "x", it's unofficial osx)
XCode 4.6.3 with command ln tools
default widgetset
Empty app runs ok. My app - crashes with 'Invalid size', in this place
procedure TLazIntfImage.InternalSetSize(AWidth, AHeight: integer);
procedure Error;
begin
raise FPImageException.Create('Invalid Size');
end;
begin
if (AWidth = Width) and (AHeight = Height) then exit;
if (AWidth<0) or (AHeight<0) then Error;
inherited SetSize(AWidth, AHeight);
FRawImage.Description.Width := Width;
FRawImage.Description.Height := Height;
end;
Mantis conversion info:
- Mantis ID: 26275
- Version: 1.2.2
- Fixed in version: 1.3 (SVN)
- Fixed in revision: 45346 (#208579db)
- Target version: 1.4