+[8.50b2] Internal 7z unpacker infinite pswd prompt loop

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

+[8.50b2] Internal 7z unpacker infinite pswd prompt loop

Post by *MVV »

Both ways don't use option 'remember password'.

Steps are (1):
1. Enter this archive (regular archive where different files are encrypted with different passwords).
2. Try to unpack History.txt and cancel password prompt.
3. Repeat step 2 some times. As for me, it happens after 1-3 tries. TC becomes to reask password infinitely when I click cancel.
4. Hold Escape key and click unpack dialog Close button multiple times until you catch moment when it is enabled. :D

Steps are (2):
1. Same as above.
2. Try to unpack History.txt and enter valid password 1. TC fails to unpack file (while 7-Zip does it).
3. Try to unpack License.txt and cancel password prompt. TC falls into an infinite loop again.
4. As above.
Biozynotiker
Member
Member
Posts: 164
Joined: 2011-03-22, 09:57 UTC
Location: Germany

Post by *Biozynotiker »

confirmed!
#92832
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48166
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, as written in the other thread, 7zip and rar archives with multiple passwords aren't currently supported.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

But what about infinite dialog loops?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48166
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I can reproduce it with the 64-bit version, but not with the 32-bit version.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I tested with 32-bit. But I think this code is common for both 32-bit and 64-bit versions?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48166
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

No, 32-bit has to use a special 7zip interface dll.
Author of Total Commander
https://www.ghisler.com
Biozynotiker
Member
Member
Posts: 164
Joined: 2011-03-22, 09:57 UTC
Location: Germany

Post by *Biozynotiker »

But the 32bit TC has also dialog loops. I had to kill the TC process to exit.

Maybe this was a result from the "old" tc7zipif.dll, with the newer you one provided, i cant reproduce this at the moment.
#92832
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48166
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Ah, could be - I will test it some more.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I can't reproduce it too with 8.50b2a.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48166
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I could fix it now. I needed to check whether the user cancelled the password input, and if yes, not try again to unpack.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Works in 8.50b3.
Great, TC now supports archives with multiple passwords!
Thanks!
Post Reply