gzip: Fix silent fallback to decompression
authorBen Hutchings <ben@decadent.org.uk>
Fri, 18 Sep 2015 19:59:17 +0000 (21:59 +0200)
committerBen Hutchings <benh@debian.org>
Mon, 28 Jun 2021 14:24:37 +0000 (15:24 +0100)
commitb8806353743ca2b86e0429eefc261d58ba5d240b
treef9a9fa67025425aab0d355490fb16ad6305122a4
parent4133612979cde3793deb7433bd0c462ab23320b9
gzip: Fix silent fallback to decompression

Bug-Debian: https://bugs.debian.org/355809
Forwarded: http://www.zytor.com/pipermail/klibc/2016-January/003892.html

If the gzip utilities are built without support for compression,
they will always attempt to carry out decompression even if the
command name and options don't imply that.  Instead they should
fail with an explicit error in this case.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Name gzip-fix-silent-fallback-to-decompression.patch
usr/gzip/gzip.c