View Issue Details

IDProjectCategoryView StatusLast Update
0006421JEDI VCL00 JVCL Componentspublic2015-09-21 17:47
ReporterbheAssigned ToAHUser 
PrioritynormalSeveritycrashReproducibilitysometimes
Status resolvedResolutionfixed 
Product VersionDaily / GIT 
Target VersionFixed in Version3.49 
Summary0006421: JclCompression: Wrong type declaration (Crash on x64 with bound check enabled)
DescriptionWrong type declaration (Crash on x64 with bound check enabled)
Additional Information jcl/source/common/JclCompression.pas | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jcl/source/common/JclCompression.pas b/jcl/source/common/JclCompression.pas
index c3d60b9..7b1dc6c 100644
--- a/jcl/source/common/JclCompression.pas
+++ b/jcl/source/common/JclCompression.pas
@@ -4285,7 +4285,7 @@ function TJclCompressionItem.UpdateFileTimes: Boolean;
 const
   FILE_WRITE_ATTRIBUTES = $00000100;
 var
- FileHandle: HFILE;
+ FileHandle: THandle;
   ACreationTime, ALastAccessTime, ALastWriteTime: PFileTime;
 begin
   ReleaseStream;
TagsNo tags attached.

Activities

2015-07-23 10:45

 

JclCompression_x64_issue.diff (558 bytes)
 jcl/source/common/JclCompression.pas | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jcl/source/common/JclCompression.pas b/jcl/source/common/JclCompression.pas
index c3d60b9..7b1dc6c 100644
--- a/jcl/source/common/JclCompression.pas
+++ b/jcl/source/common/JclCompression.pas
@@ -4285,7 +4285,7 @@ function TJclCompressionItem.UpdateFileTimes: Boolean;
 const
   FILE_WRITE_ATTRIBUTES = $00000100;
 var
-  FileHandle: HFILE;
+  FileHandle: THandle;
   ACreationTime, ALastAccessTime, ALastWriteTime: PFileTime;
 begin
   ReleaseStream;

AHUser

2015-07-23 23:35

developer   ~0021173

Fixed in the master branch.

Issue History

Date Modified Username Field Change
2015-07-23 10:45 bhe New Issue
2015-07-23 10:45 bhe File Added: JclCompression_x64_issue.diff
2015-07-23 23:35 AHUser Note Added: 0021173
2015-07-23 23:35 AHUser Status new => resolved
2015-07-23 23:35 AHUser Fixed in Version => Daily / GIT
2015-07-23 23:35 AHUser Resolution open => fixed
2015-07-23 23:35 AHUser Assigned To => AHUser
2015-09-21 17:47 obones Fixed in Version Daily / GIT => 3.49