ZeroDailyGet it on Google Play

Tar archives cause eight-way extraction chaos: pick your poison

Original headline: The Hardest Tarball? — stoppels.ch

More in Programming and developer news

A developer created a single tar archive that produces eight different extraction results depending on which tool you use. The archive exploits ambiguities in the POSIX standard about whether hard links can have data blocks, creating a file that's interpreted wildly differently by popular utilities like GNU tar, bsdtar, 7-Zip, Python, Go, Perl, Java Commons Compress, and various Node.js/Rust libraries.

The result is a perfect demonstration of how subtle edge cases in file format specifications can trigger completely divergent behavior across the ecosystem. Engineers working with tar archives now face a new debugging nightmare: the same archive could silently produce different files on different systems. This serves as a hilarious reminder that "portable" formats are only as portable as their implementations.

Read the original at stoppels.ch

Satirical commentary on real tech news, summarised with AI. Read the original source for the facts. How ZeroDaily works

Open in the appGet it on Google Play

More stories

Add ZeroDaily on Google