Skip to content

Comment on How are zlib, gzip and zip related?parent

Comments

Wow, that's surprising (at least to me)!

Is there a limit in the default gunzip implementation? I'm aware of the concept of ZIP/tar bombs, but I wouldn't have expected gunzip to ever produce more than one output file, at least when invoked without options.

It only produces one output. It's just a stream of data.

Ah, I somehow imagined a second `cat` in there. That makes more sense, thank you!

The limit is it doesn't do filenames or other metadata — it's limited to contents.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.