Repository navigation
v1.3.2
Modern, standalone C/C++ rewrite of the FreeArc archiver and unpacker.
What's New in v1.3.2
This release resolves an extraction issue where unarc t / unarc x could report ERROR: file read operation failed on archives containing multi-threaded solid blocks (such as 4x4:lzma or combined profiles dict+4x4) and fixes 64-bit RAM query overflows:
-
Unarc 4x4 Decompression Buffer Handling:
- Added per-job buffer capacity tracking and dynamic reallocation for worker threads during
4x4decompression, preventing buffer size mismatch and heap corruption across variable-sized chunks. - Implemented loop-based chunk reading in
_4x4MTCompressorto ensure complete chunk retrieval across multi-threaded decompressor callbacks.
- Added per-job buffer capacity tracking and dynamic reallocation for worker threads during
-
64-bit Memory Query Overflow Fix:
- Migrated legacy 32-bit
GlobalMemoryStatustoGlobalMemoryStatusExon Windows (and 64-bituint64arithmetic on Linux). - Fixed a 32-bit modulo wraparound where systems with 16 GB, 32 GB, or 64 GB of RAM would report 0 bytes of physical memory, which erroneously triggered temporary disk buffering (
tempfile) inside the decompression pipeline. - Decompression on 64-bit systems now runs entirely in-memory unless an explicit memory limit (
-ld) is specified and exceeded.
- Migrated legacy 32-bit
-
Robust File Read Guards:
- Clamped and guarded
DecompressCallbackandMYFILE::tryReadagainst negative lengths and unsigned 32-bit CRT count overflows. - Fixed
arc.inibuffer allocation size and string termination inRegisterExternalCompressors. - Corrected
MYFILE::renamereturn status check on Windows.
- Clamped and guarded
Packages & Binaries
freearc_1.3.2-1_amd64.deb: Debian / Ubuntu packagefreearc-1.3.2-linux-x86_64.tar.gz: Portable standalone Linux binaries (arc,unarc,arc.sfx,README.md,FORMAT.md,LICENSE)freearc-1.3.2-win64.zip: Portable standalone Windows 64-bit binaries (arc.exe,unarc.exe,README.md,FORMAT.md,LICENSE)