Unzip.e trouble...

new topic     » topic index » view thread      » older message » newer message

Hello again.

Is anyone on this list familiar (codewise I mean) with Davi Figueiredo's 
Unzip.e (and accompanying files)?  I've hit a little snag with it that'd I'd 
like to get worked out.  I mailed him about it about a week ago but I 
haven't gotten an answer back since.

The problem I'm having involves unzipping encrypted files.  Now sometimes, 
some wrong passwords can sort of trick the program into unzipping the file, 
but upon further investigation (CRC check or whatever), PKZIP will realize 
something's wrong and end up spitting out an error message and a zero length 
copy of the file(s) in question.  Unzip.e is the exact same way with these 
"weird" passwords.  I guess, according to Davi's docs, this will happen with 
1 out of every 256 passwords.

So here's the problem.  It appears he thought of this, so that if you call 
unzip_encrypted_file with a "weird" password once, it will simply return an 
error code and move on.  But if you call it a second time with another 
"weird" password, even if it's completely different, but still fools the 
program the same way, the whole thing quits and dumps out this error:

C:\EUPHORIA\include\unzip.e:399 in function unzip_encrypted_file()
attempt to subscript an atom
(reading from it)

I'm not good enough yet to deal with a program this big.  Any suggestions as 
to how I can fix this?

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu