[8.52a x64] Wrong CAB extraction

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

[8.52a x64] Wrong CAB extraction

Post by *MaxX »

Step-by-step to reproduce:
1. Download the file - http://www.softmaker.net/down/ofw2016.exe
2. Start TC, 1/2/3, then go to downloaded file, Ctrl+PgDn on it to see "SoftMaker Office 2016.msi" inside
3. Copy msi (via F5) anywhere out of this exe
4. Get request "insert disk 2" (screenshot: http://firepic.org/images/2015-11/19/y2d9gz9qy9oh.png)
5. Push OK or Cancel and the same request splashes again.
6. No way out. I had to kill TC's process in taskmgr.

TC x32 "Cancel" works fine.

Any ideas?
Why there was no way out of the endless request-quest?

P.S.
Some more info:
TC 8.52a 64-bit Rus @ Win 7 SP1 x64 Rus. All TC's DLLs are kept original, no external WCX plugin was used now.

7-zip (gui):
* Open exe as *.CAB and extract msi. 7zip gui shows an error instead of part2-request: http://firepic.org/images/2015-11/19/dwenpzsxd030.png
* Open exe as *.PE resources. 7zip gui shows small parts insread of whole cab: http://firepic.org/images/2015-11/19/lzv03mtedv7u.png
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

Can anyone confirm?
Am I alone?
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6507
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

Confirmed
User avatar
ZoSTeR
Power Member
Power Member
Posts: 1014
Joined: 2004-07-29, 11:00 UTC

Post by *ZoSTeR »

Confirmed.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48108
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It looks like an incomplete download?
Author of Total Commander
https://www.ghisler.com
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

2ghisler(Author)
No. File is not corrupted (check CRC32: 88422357).
There's just some sh** inside: 11 parts of CAB (my second screenshot of 7zip) with no compression, and big msi is inside that CABs.
TC skips EXE's PE header, then finds the first archive marker, opens it and shows contents of the first CAB's part (no bug here).
While unpacking process TC suddenly gets end-of-part-bytes and asks for part 2 (still no bug for me).
But when I press "OK" or "Cancel" - there's a bug in TC64 version: "insert disk 2" request is shown again and again. No way out.
TC32 works fine and just stops extraction after "Cancel".
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48108
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You are right, the file is quite f**ed up - maybe to prevent that people extract it manually...
Author of Total Commander
https://www.ghisler.com
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

Could you fix TCx64 to work same way as TCx32?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48108
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I have already fixed it for the next version.
Author of Total Commander
https://www.ghisler.com
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

Confirm. Fixed.
I've tested that old file on TC 9.0 beta 1, 'Cancel' works fine.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48108
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply