Typo in ExtHandler.cpp
A free file archiver for extremely high compression
Brought to you by:
ipavlov
The ext handler occasionally fails to open some files.
An excerpt from Archive/ExtHandler.cpp from line #462:
if (Is64Bit()) { HI_32(150, NumBlocks); // HI_32(154, NumBlocksSuper); HI_32(0x158, NumFreeBlocks); }
Here we have decimal 150
instead of hex 0x150
, 150
(0x96
) points into s_last_mounted
buffer of ext4_super_block
and if the last mount string happens to be longer than 14 bytes we get garbage in the hi dword of NumBlocks.
Неre is a patch aganst the latest public sources на всякий случай.
Thanks for report!
I'll fix it in next version.