p7zip-project / p7zip

A new p7zip fork with additional codecs and improvements (forked from https://sourceforge.net/projects/sevenzip/ AND https://sourceforge.net/projects/p7zip/).
789 stars 110 forks source link

Old 7zip crypto init problem #111

Open DocSniper opened 3 years ago

DocSniper commented 3 years ago

A while back there was a crypto init issue with 7z. Has that problem been fixed in this fork?

See the original postings here: https://sourceforge.net/p/sevenzip/discussion/45797/thread/6f7607738c/ and https://twitter.com/3lbios/status/1087848040583626753

I looked at your source code and the 7zip 1900 source code and did a comparison between the two RandGen.cpp files. The three files are attached. The code seems to have been extended a bit and there now also seems to be a 1000 cycles init while-loop added among other things, can you please insert these corrections ? Thanks.

diff.zip

jinfeihan57 commented 3 years ago

This seems to be a feature of 7zip 19.00, p7zip is now more like 7zip 17.00. But don't worry, I'll update to 19.00.

DocSniper commented 3 years ago

Then I'll just wait and look forward to it. Thank you.