EldoS | Feel safer!

Software components for data protection, secure storage and transfer

TElZipWriter creates invalid zip files under 64-bit

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#29468
Posted: 05/15/2014 16:54:29
by Mason Wheeler (Basic support level)
Joined: 02/18/2014
Posts: 3

Attached is a very simple Delphi project that creates a console app. You can drag and drop one or more files onto it and it will create a Zip archive using TElZipWriter.

In 32-bit this works fine. But when compiled under 64-bit, (using XE4 here, in case that matters,) the archive is created and can be opened in Windows Explorer, but attempting to actually extract files from it fails most of the time. (Not all files exhibit this failure, but the majority do.)

Can anyone reproduce this?

Mason Wheeler
De Novo Software


[ Download ]

Mason Wheeler
De Novo Software
#29469
Posted: 05/16/2014 00:59:18
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for contacting us.

What SecureBlackbox version is used? Could you please try our sample and check if the same problem occurs with it.
#29478
Posted: 05/16/2014 15:12:00
by Mason Wheeler (Basic support level)
Joined: 02/18/2014
Posts: 3

At the moment we're using version 10.0.233, but I also tested this with the most recent sample and the same problem still exists.


Mason Wheeler
De Novo Software
#29481
Posted: 05/17/2014 03:36:34
by Eugene Mayevski (EldoS Corp.)

Confirmed. We are investigating the issue now.


Sincerely yours
Eugene Mayevski
#29482
Posted: 05/17/2014 03:41:48
by Eugene Mayevski (EldoS Corp.)

The problem is caused by bugs of XE4 code generator for Win64. XE5 doesn't have this problem and processing the same file with the EXE generated by Delphi XE4 causes a broken archive and with XE5-generated EXE the archive is correct.


Sincerely yours
Eugene Mayevski
Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.

Reply

Statistics

Topic viewed 747 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!