Skip to content

v1.3.2

Choose a tag to compare

@seb3773 seb3773 released this 02 Nov 14:10
· 5 commits to main since this release

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 4x4 decompression, preventing buffer size mismatch and heap corruption across variable-sized chunks.
    • Implemented loop-based chunk reading in _4x4MTCompressor to ensure complete chunk retrieval across multi-threaded decompressor callbacks.
  • 64-bit Memory Query Overflow Fix:

    • Migrated legacy 32-bit GlobalMemoryStatus to GlobalMemoryStatusEx on Windows (and 64-bit uint64 arithmetic 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.
  • Robust File Read Guards:

    • Clamped and guarded DecompressCallback and MYFILE::tryRead against negative lengths and unsigned 32-bit CRT count overflows.
    • Fixed arc.ini buffer allocation size and string termination in RegisterExternalCompressors.
    • Corrected MYFILE::rename return status check on Windows.

Packages & Binaries

  • freearc_1.3.2-1_amd64.deb: Debian / Ubuntu package
  • freearc-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)