Comment on How are zlib, gzip and zip related?parentComments−lxgr2yWow, 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.−tedunangst2yIt only produces one output. It's just a stream of data.−lxgr2yAh, I somehow imagined a second `cat` in there. That makes more sense, thank you!−abhibeckert2yThe limit is it doesn't do filenames or other metadata — it's limited to contents.
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.