DOS386 27.03.2013, 09:10 |
CRITICAL OFF-by-32-KiB-BUG (Users) |
There is an "interesting" random BUG occurring rarely (maybe cca 1% per 100 MiB processed) when decompressing encrypted 7-ZIP archives. In the output file, a 4 MiB block is off by 32 KiB like this: --- |
RayeR CZ, 28.03.2013, 02:16 @ DOS386 |
CRITICAL OFF-by-32-KiB-BUG |
Can you make a simple test package with archive so someone lece could try to reproduce it at same input but different OS/system? --- |
DOS386 29.03.2013, 09:26 @ RayeR |
CRITICAL OFF-by-32-KiB-BUG |
TYPO: "Everything os OK" -> "Everything is OK" --- |
RayeR CZ, 29.03.2013, 11:02 @ DOS386 |
CRITICAL OFF-by-32-KiB-BUG |
OK, so to sumarize test conditions: --- |
DOS386 29.03.2013, 11:19 @ RayeR |
CRITICAL OFF-by-32-KiB-BUG |
> OK, so to sumarize test conditions: --- |
DOS386 31.03.2013, 17:42 @ DOS386 |
CRITICAL OFF-by-32-KiB-BUG (threads) |
As Igor revealed, the LZMA algo needs 2 threads compression but only 1 for decompression ... but if the archive is encrypted, there will be an additional thread in both cases ... so I suspect a HX threading vulnerabibility to be the source of the problem, and it would NOT affect archives that are not encrypted then. --- |
RayeR CZ, 03.04.2013, 12:35 (edited by RayeR, 03.04.2013, 13:16) @ DOS386 |
CRITICAL OFF-by-32-KiB-BUG (threads) |
I made a test of 7za DOS version that I use: --- |
Zyzzle 04.04.2013, 04:17 @ RayeR |
CRITICAL OFF-by-32-KiB-BUG (threads) |
How did you get past the 2GB limit of DJGPP? I guess a Win32 environment allows for 4GB - 1 file length? |
RayeR CZ, 04.04.2013, 13:51 @ Zyzzle |
CRITICAL OFF-by-32-KiB-BUG (threads) |
> How did you get past the 2GB limit of DJGPP? I guess a Win32 environment --- |
DOS386 04.04.2013, 04:37 @ RayeR |
CRITICAL OFF-by-32-KiB-BUG (threads) |
> I made a test of 7za DOS version that I use: --- |
Rugxulo Usono, 05.04.2013, 19:15 @ DOS386 |
CRITICAL OFF-by-32-KiB-BUG |
(quoting Eric Auer): |
DOS386 10.04.2013, 12:00 @ Rugxulo |
CRITICAL OFF-by-32-KiB-BUG | Eric | LZMA2 |
(quoting Eric Auer): --- |