Anonymous | Login | Signup for a new account | 2019-02-19 19:06 CET |
Main | My View | View Issues | Change Log | Roadmap | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
0006436 | [JEDI VCL] JclGraphics | crash | always | 2015-09-08 09:47 | 2016-08-03 20:23 | ||
Reporter | CubicDesign | View Status | public | ||||
Assigned To | AHUser | ||||||
Priority | normal | Resolution | fixed | ||||
Status | resolved | Product Version | Version 2.5 (Subversion repository/Daily zips) | ||||
Summary | 0006436: Crash in JvPaintFX.pas | ||||||
Description |
The person that added JanFX library to JEDI removed a {$R-} directive without really understanding what it is doing. Without this directive the code crashes. |
||||||
Additional Information |
The problem is class procedure TJvPaintFX.Stretch(Src, Dst: TBitmap; Filter: TFilterProc; AWidth: Single); begin ... GetMem(Contrib, DstWidth * SizeOf(TCList)); // Horizontal sub-sampling // Scales from bigger to smaller Width {$R-} <------------------ THIS WAS REMOVED!!!!! if (xscale < 1.0) then ... end; This will explain why that range check should be disabled: http://stackoverflow.com/questions/628965/delphi-accessing-data-from-dynamic-array-that-is-populated-from-an-untyped-poi [^] |
||||||
Tags | bug, janfx, JvPaintFX, resampler, stretch | ||||||
Attached Files | |||||||
|
![]() |
||||||
|
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |