libarchive / libarchive

Multi-format archive and compression library

Home Page:http://www.libarchive.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

archive_read_data_block get a error: "Truncated data in huffman tables (#2)" when extract a rar file

keyzhao0118 opened this issue · comments

https://github.com/Kitware/CMake/releases/download/v3.28.4/cmake-3.28.4-windows-x86_64.msi
I compress the msi file to rar with winrar, all the settings are default, but when I use archive_read_data_block to extract it, it failed with error string "Truncated data in huffman tables (#2)", but when I compress the msi file to zip, the archive_read_data_block works well

Could you share the rar file somewhere? When I compress this MSI file into rar using WinRAR, the resulting rar file is extracted normally with bsdtar.