From unknown Mon Jun 23 13:10:25 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#17504 <17504@debbugs.gnu.org> To: bug#17504 <17504@debbugs.gnu.org> Subject: Status: bug in gzgrep? Reply-To: bug#17504 <17504@debbugs.gnu.org> Date: Mon, 23 Jun 2025 20:10:25 +0000 retitle 17504 bug in gzgrep? reassign 17504 gzip submitter 17504 "Robert M. Lawhead" severity 17504 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu May 15 21:00:12 2014 Received: (at submit) by debbugs.gnu.org; 16 May 2014 01:00:12 +0000 Received: from localhost ([127.0.0.1]:36479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wl6VN-0007u1-2I for submit@debbugs.gnu.org; Thu, 15 May 2014 21:00:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56374) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wl5Bq-0005nC-UC for submit@debbugs.gnu.org; Thu, 15 May 2014 19:35:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wl5Bf-00006H-68 for submit@debbugs.gnu.org; Thu, 15 May 2014 19:35:49 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47650) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wl5Bf-00006C-2z for submit@debbugs.gnu.org; Thu, 15 May 2014 19:35:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wl5BZ-0006XM-4I for bug-gzip@gnu.org; Thu, 15 May 2014 19:35:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wl5BQ-0008W4-M7 for bug-gzip@gnu.org; Thu, 15 May 2014 19:35:37 -0400 Received: from iport-bcv1-out.ucsd.edu ([132.239.0.119]:58053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wl5BQ-0008Vw-7d for bug-gzip@gnu.org; Thu, 15 May 2014 19:35:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ucsd.edu; i=@ucsd.edu; q=dns/txt; s=041709-iport; t=1400196928; x=1431732928; h=date:from:to:cc:subject:message-id:mime-version; bh=S78fOw7YqeoKponhJpVHYGycvD/oMHQtw6csnrCK+hk=; b=izCJlq5l601DEVzHw8XP1EPdWVC1VqChvbVAh4OxtJ8Q08AxwIPl3aoV z6E1ovo6Ch102l2YkAT92kPnOHevQRUIuVbSGMuMGDTvvb8rBBbLW4jtn +l1yZDvCx6+T8cr5dTCAlnqx6hZb2aDTuXaL3fd8gCN4V9Buw+nDm7SU2 Y=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApUFAAFOdVOE7/kU/2dsb2JhbABZgwYBGzO9ZxQFhzuBExZ0gmY/PDQFZYg4DcwAhUAXjFWBeR2CHg9EJIEVBIoRhRmKJpMVg1ZN X-IPAS-Result: ApUFAAFOdVOE7/kU/2dsb2JhbABZgwYBGzO9ZxQFhzuBExZ0gmY/PDQFZYg4DcwAhUAXjFWBeR2CHg9EJIEVBIoRhRmKJpMVg1ZN X-IronPort-AV: E=Sophos;i="4.97,1063,1389772800"; d="scan'208";a="94223979" Received: from act-bufferout-a1.ucsd.edu ([132.239.249.20]) by iport-bcv1-out.ucsd.edu with ESMTP; 15 May 2014 16:35:26 -0700 Received: from acsmail.ucsd.edu (zonker.ucsd.edu [132.239.50.84]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: rml@ad.ucsd.edu) by act-bufferout-a1.ucsd.edu (Postfix) with ESMTPSA id E2819E0C21; Thu, 15 May 2014 16:35:25 -0700 (PDT) Date: Thu, 15 May 2014 16:35:24 -0700 From: "Robert M. Lawhead" To: bug-gzip@gnu.org Subject: bug in gzgrep? Message-ID: <20140515233522.GA66011@acsmail.ucsd.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.22 (2013-10-16) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 15 May 2014 21:00:06 -0400 Cc: rml@ucsd.edu, bparent@ucsd.edu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) % gzgrep --version gzgrep (gzip) 1.4 Copyright (C) 2007, 2009-2010 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License . There is NO WARRANTY, to the extent permitted by law. Written by Jean-loup Gailly. % mkdir gzgrep_test % cd $_ % echo foo >a % echo foo >b % echo bar >c % % /usr/bin/gzgrep foo * a:foo b:foo # brokeness... % /usr/bin/gzgrep -h foo * a:foo b:foo % ~/bin/gzgrep foo * a:foo b:foo # fixed % ~/bin/gzgrep -h foo * foo foo # how does grep behave % /bin/grep -h foo * foo foo # The hack I made % diff -bw /usr/bin/gzgrep /home/solaris/staff/rml/bin/gzgrep 157a158 > [[ $grep == @(*-h*) ]] && with_filename=0 && no_filename=1 # rml From debbugs-submit-bounces@debbugs.gnu.org Fri May 16 21:10:13 2014 Received: (at 17504-done) by debbugs.gnu.org; 17 May 2014 01:10:13 +0000 Received: from localhost ([127.0.0.1]:50967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WlT8e-0006kl-VZ for submit@debbugs.gnu.org; Fri, 16 May 2014 21:10:13 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:54876) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WlT8c-0006kT-3A for 17504-done@debbugs.gnu.org; Fri, 16 May 2014 21:10:11 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 4D027A60063; Fri, 16 May 2014 18:10:04 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tRLNvg8mL5DM; Fri, 16 May 2014 18:09:55 -0700 (PDT) Received: from [192.168.1.9] (pool-108-0-233-62.lsanca.fios.verizon.net [108.0.233.62]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id A4D29A60001; Fri, 16 May 2014 18:09:55 -0700 (PDT) Message-ID: <5376B6E3.6080209@cs.ucla.edu> Date: Fri, 16 May 2014 18:09:55 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: "Robert M. Lawhead" , 17504-done@debbugs.gnu.org Subject: Re: bug#17504: bug in gzgrep? References: <20140515233522.GA66011@acsmail.ucsd.edu> In-Reply-To: <20140515233522.GA66011@acsmail.ucsd.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 17504-done Cc: bparent@ucsd.edu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.0 (---) Robert M. Lawhead wrote: > % gzgrep --version > gzgrep (gzip) 1.4 Wow, that's old. I recall fixing that bug some time ago in the GNU sources. I can't reproduce the problem on the oldest Solaris box I have easy access to: $ echo foo >a $ echo foo >b $ echo bar >c $ gzgrep foo * a:foo b:foo $ gzgrep -h foo * foo foo $ uname -srvmpi SunOS 5.10 Generic_147440-19 sun4u sparc SUNW,Sun-Fire-280R $ gzgrep --version | sed 1q gzgrep (gzip) 1.5 My guess is that you need to bring your Solaris machine up-to-date, by installing the usual patches from Oracle. Probably should be doing that anyway, as unpatched machines can be dangerous. From debbugs-submit-bounces@debbugs.gnu.org Sat May 17 10:10:41 2014 Received: (at 17504-done) by debbugs.gnu.org; 17 May 2014 14:10:41 +0000 Received: from localhost ([127.0.0.1]:51510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WlfJs-0000iY-Ab for submit@debbugs.gnu.org; Sat, 17 May 2014 10:10:40 -0400 Received: from iport-acv1-out.ucsd.edu ([132.239.0.176]:52640) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WlfJl-0000iJ-RF for 17504-done@debbugs.gnu.org; Sat, 17 May 2014 10:10:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ucsd.edu; i=@ucsd.edu; q=dns/txt; s=041709-iport; t=1400335830; x=1431871830; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=CaaHJfG76XSuxPG1F6ct94/II9n1+FgveqiJo46gA4k=; b=Jh39zV6hGK/EIDckXyVbtq7C3fQrw3+62NYjDkrwwsAvtqo+ntXDwOJ/ cNyNOITy1qG+F83ptPmDYaQ52ACCgU2PZ7PLbEFQFpiWXvwHqOrGxrcQ2 SC+LeXmiqHaYknVNK2TSJKEyyiT5sYmBz3xxpYlqwvXbnRWfvBtzn3YoQ 0=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnMFAD9td1OE7/mI/2dsb2JhbABZDoJ4hBCmYwYGlxiDEwGBChZ0giUBAQUjVQEQIwICBRYLAgIJAwIBAgE/BgYBDAEHAQGIPa0GnkWFWBeBKoQriHsHgnWBSwEDihWPRYZqjDCCd2A X-IPAS-Result: AnMFAD9td1OE7/mI/2dsb2JhbABZDoJ4hBCmYwYGlxiDEwGBChZ0giUBAQUjVQEQIwICBRYLAgIJAwIBAgE/BgYBDAEHAQGIPa0GnkWFWBeBKoQriHsHgnWBSwEDihWPRYZqjDCCd2A X-IronPort-AV: E=Sophos;i="4.98,859,1392192000"; d="scan'208";a="108639276" X-Spam-Status: No X-Spam-Level: Received: from act-bufferout-b1.ucsd.edu ([132.239.249.136]) by iport-acv1-out.ucsd.edu with ESMTP; 17 May 2014 07:10:17 -0700 Received: from [127.0.0.1] (unknown [137.110.39.22]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: rml@ad.ucsd.edu) by act-bufferout-b1.ucsd.edu (Postfix) with ESMTPSA id 64B59EBEC0; Sat, 17 May 2014 07:10:16 -0700 (PDT) Message-ID: <53776DBD.5080009@ucsd.edu> Date: Sat, 17 May 2014 07:10:05 -0700 From: Robert Lawhead User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Paul Eggert , 17504-done@debbugs.gnu.org Subject: bug in gzgrep References: <20140515233522.GA66011@acsmail.ucsd.edu> <5376B6E3.6080209@cs.ucla.edu> In-Reply-To: <5376B6E3.6080209@cs.ucla.edu> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 140517-0, 05/17/2014), Outbound message X-Antivirus-Status: Clean X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 17504-done Cc: bparent@ucsd.edu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) Hello Paul, The solaris box is running fully patched 11.1. The bug is present in Linux zgrep as well. I can confirm that its present in RedHat/CentOS 6.2, and ubuntu precice1 which is just a few months old. It looks like the version you tested is 1.5. When was it released and where can I get it? Thanks. 06:48:45 rml@ubuntu:rml:276> mkdir zgrep_test 06:48:58 rml@ubuntu:rml:277> cd $_ 06:49:03 rml@ubuntu:zgrep_test:278> echo foo>a 06:49:19 rml@ubuntu:zgrep_test:279> echo foo>b 06:49:28 rml@ubuntu:zgrep_test:280> echo bar>c 06:49:33 rml@ubuntu:zgrep_test:281> gzip b 06:49:47 rml@ubuntu:zgrep_test:282> zgrep foo * a:foo b.gz:foo 06:49:54 rml@ubuntu:zgrep_test:283> zgrep -h foo * a:foo b.gz:foo 06:50:01 rml@ubuntu:zgrep_test:284> uname -a Linux ubuntu 3.5.0-48-generic #72~precise1-Ubuntu SMP Tue Mar 11 20:08:23 UTC 2014 i686 i686 i386 GNU/Linux On 5/16/2014 6:09 PM, Paul Eggert wrote: > Robert M. Lawhead wrote: >> % gzgrep --version >> gzgrep (gzip) 1.4 > > Wow, that's old. I recall fixing that bug some time ago in the GNU sources. > I can't reproduce the problem on the oldest Solaris box I have easy access to: > > $ echo foo >a > $ echo foo >b > $ echo bar >c > $ gzgrep foo * > a:foo > b:foo > $ gzgrep -h foo * > foo > foo > $ uname -srvmpi > SunOS 5.10 Generic_147440-19 sun4u sparc SUNW,Sun-Fire-280R > $ gzgrep --version | sed 1q > gzgrep (gzip) 1.5 > > My guess is that you need to bring your Solaris machine up-to-date, by > installing the usual patches from Oracle. Probably should be doing that > anyway, as unpatched machines can be dangerous. From debbugs-submit-bounces@debbugs.gnu.org Sat May 17 10:14:33 2014 Received: (at 17504-done) by debbugs.gnu.org; 17 May 2014 14:14:33 +0000 Received: from localhost ([127.0.0.1]:51514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WlfNd-0000qR-Aa for submit@debbugs.gnu.org; Sat, 17 May 2014 10:14:33 -0400 Received: from iport-acv1-out.ucsd.edu ([132.239.0.176]:29063) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WlfNY-0000qE-2H for 17504-done@debbugs.gnu.org; Sat, 17 May 2014 10:14:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ucsd.edu; i=@ucsd.edu; q=dns/txt; s=041709-iport; t=1400336064; x=1431872064; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to; bh=SP1HT0J8TmxuDq0GleSsBAs4srr7ZEBPEsiPHQGuML8=; b=M1IR9l26Or0gXOnyR46GZmsu+l63lITcrtOUAzGHYJdWOy4ZTM5Q+G8r fYY4nZqxvPxZ1WIzodiKEyciKsbjOesKEg1yg1sEGL7HfwRxP828iIgNT YGAgCYqcnr5P7rCeXQgs4afaOECMJFbP656fVsC/wY9C4rVNEtZQH19Vo Q=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnkFAGxud1OE7/mI/2dsb2JhbABZDoJ4hBCFXaEGBgaXGIMTAYEKFnSCJQEBBSNVARAPFAkWCwICCQMCAQIBRQYBDAEHAQGIPa0HnkSFWBeFVYh7B4J1gUsEihWPRYZqjDCCd2A X-IPAS-Result: AnkFAGxud1OE7/mI/2dsb2JhbABZDoJ4hBCFXaEGBgaXGIMTAYEKFnSCJQEBBSNVARAPFAkWCwICCQMCAQIBRQYBDAEHAQGIPa0HnkSFWBeFVYh7B4J1gUsEihWPRYZqjDCCd2A X-IronPort-AV: E=Sophos;i="4.98,859,1392192000"; d="scan'208,217";a="108640455" X-Spam-Status: No X-Spam-Level: Received: from act-bufferout-b1.ucsd.edu ([132.239.249.136]) by iport-acv1-out.ucsd.edu with ESMTP; 17 May 2014 07:14:24 -0700 Received: from [127.0.0.1] (unknown [137.110.39.22]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: rml@ad.ucsd.edu) by act-bufferout-b1.ucsd.edu (Postfix) with ESMTPSA id E5FD6EBEC0; Sat, 17 May 2014 07:14:22 -0700 (PDT) Message-ID: <53776EBE.7080007@ucsd.edu> Date: Sat, 17 May 2014 07:14:22 -0700 From: Robert Lawhead User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Paul Eggert , 17504-done@debbugs.gnu.org Subject: bug in gzgrep? References: <20140515233522.GA66011@acsmail.ucsd.edu> <5376B6E3.6080209@cs.ucla.edu> In-Reply-To: <5376B6E3.6080209@cs.ucla.edu> Content-Type: multipart/alternative; boundary="------------070904050102040201080108" X-Antivirus: avast! (VPS 140517-0, 05/17/2014), Outbound message X-Antivirus-Status: Clean X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 17504-done Cc: bparent@ucsd.edu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) This is a multi-part message in MIME format. --------------070904050102040201080108 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Add Cygwin to the list... rml@yosemite:z:442> zgrep --version zgrep (gzip) 1.4 rml@yosemite:tmp:432> mkdir z rml@yosemite:tmp:433> cd z rml@yosemite:z:434> echo foo>a rml@yosemite:z:435> echo foo | gzip -c >b rml@yosemite:z:436> echo bar>c rml@yosemite:z:437> zgrep foo * a:foo b:foo rml@yosemite:z:438> zgrep -h foo * a:foo b:foo rml@yosemite:z:439> uname -a CYGWIN_NT-6.1-WOW64 yosemite 1.7.29(0.272/5/3) 2014-04-07 13:44 i686 Cygwin On 5/16/2014 6:09 PM, Paul Eggert wrote: > Robert M. Lawhead wrote: >> % gzgrep --version >> gzgrep (gzip) 1.4 > > Wow, that's old. I recall fixing that bug some time ago in the GNU sources. > I can't reproduce the problem on the oldest Solaris box I have easy access to: > > $ echo foo >a > $ echo foo >b > $ echo bar >c > $ gzgrep foo * > a:foo > b:foo > $ gzgrep -h foo * > foo > foo > $ uname -srvmpi > SunOS 5.10 Generic_147440-19 sun4u sparc SUNW,Sun-Fire-280R > $ gzgrep --version | sed 1q > gzgrep (gzip) 1.5 > > My guess is that you need to bring your Solaris machine up-to-date, by > installing the usual patches from Oracle. Probably should be doing that > anyway, as unpatched machines can be dangerous. --------------070904050102040201080108 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Add Cygwin to the list...
rml@yosemite:z:442> zgrep --version
zgrep (gzip) 1.4

rml@yosemite:tmp:432> mkdir z
rml@yosemite:tmp:433> cd z
rml@yosemite:z:434> echo foo>a
rml@yosemite:z:435> echo foo | gzip -c >b
rml@yosemite:z:436> echo bar>c
rml@yosemite:z:437> zgrep foo *
a:foo
b:foo
rml@yosemite:z:438> zgrep -h foo *
a:foo
b:foo
rml@yosemite:z:439> uname -a
CYGWIN_NT-6.1-WOW64 yosemite 1.7.29(0.272/5/3) 2014-04-07 13:44 i686 Cygwin


On 5/16/2014 6:09 PM, Paul Eggert wrote:
Robert M. Lawhead wrote:
% gzgrep --version
gzgrep (gzip) 1.4

Wow, that's old.  I recall fixing that bug some time ago in the GNU sources.  I can't reproduce the problem on the oldest Solaris box I have easy access to:

$ echo foo >a
$ echo foo >b
$ echo bar >c
$ gzgrep foo *
a:foo
b:foo
$ gzgrep -h foo *
foo
foo
$ uname -srvmpi
SunOS 5.10 Generic_147440-19 sun4u sparc SUNW,Sun-Fire-280R
$ gzgrep --version | sed 1q
gzgrep (gzip) 1.5

My guess is that you need to bring your Solaris machine up-to-date, by installing the usual patches from Oracle.  Probably should be doing that anyway, as unpatched machines can be dangerous.

--------------070904050102040201080108-- From debbugs-submit-bounces@debbugs.gnu.org Sat May 17 12:07:16 2014 Received: (at 17504) by debbugs.gnu.org; 17 May 2014 16:07:16 +0000 Received: from localhost ([127.0.0.1]:51576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wlh8i-0004Pq-HT for submit@debbugs.gnu.org; Sat, 17 May 2014 12:07:16 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:52619) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wlh8c-0004PD-FH for 17504@debbugs.gnu.org; Sat, 17 May 2014 12:07:10 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 767C7A60022; Sat, 17 May 2014 09:07:00 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U1f3shphysjC; Sat, 17 May 2014 09:06:54 -0700 (PDT) Received: from [192.168.1.9] (pool-108-0-233-62.lsanca.fios.verizon.net [108.0.233.62]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 7245DA60015; Sat, 17 May 2014 09:06:54 -0700 (PDT) Message-ID: <5377891A.1030506@cs.ucla.edu> Date: Sat, 17 May 2014 09:06:50 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Robert Lawhead , 17504@debbugs.gnu.org Subject: Re: bug in gzgrep References: <20140515233522.GA66011@acsmail.ucsd.edu> <5376B6E3.6080209@cs.ucla.edu> <53776DBD.5080009@ucsd.edu> In-Reply-To: <53776DBD.5080009@ucsd.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 17504 Cc: bparent@ucsd.edu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.0 (---) Robert Lawhead wrote: > The solaris box is running fully patched 11.1. That's, odd, because on the Solaris 11.1 box I have access to, gzgrep is version 1.5: $ uname -srvmpi SunOS 5.11 11.1 i86pc i386 i86pc $ gzgrep --version | head -1 gzgrep (gzip) 1.5 Perhaps there's some patch set your sysadmins are not installing? > I can confirm that its present in RedHat/CentOS 6.2, and ubuntu precice1 which is just a few months old. I'm not surprised: those releases were originally made in 2012, and predate gzip 1.5. They probably don't think this bug worth fixing. I wouldn't install gzip 1.5 (released June 2012); like gzip 1.4, it has known security holes (which I hope Solaris has patched). I'd install gzip 1.6 (released June 2013). Please see: http://www.gnu.org/software/gzip/gzip.html From debbugs-submit-bounces@debbugs.gnu.org Sat May 17 12:33:05 2014 Received: (at 17504) by debbugs.gnu.org; 17 May 2014 16:33:05 +0000 Received: from localhost ([127.0.0.1]:51602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WlhXg-0006Dp-Oj for submit@debbugs.gnu.org; Sat, 17 May 2014 12:33:04 -0400 Received: from iport-acv2-out.ucsd.edu ([132.239.0.174]:26157) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WlhXa-0006Da-Cp for 17504@debbugs.gnu.org; Sat, 17 May 2014 12:32:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ucsd.edu; i=@ucsd.edu; q=dns/txt; s=041709-iport; t=1400344375; x=1431880375; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=DDSbgvsHQIb36MMXvANgANQ0gnUAEt1kPdhP1QTmKrg=; b=fH2enT0DytTjE+dPSU7xxNBsvqmDXD+fDAYjVAbUP+KeE9U/wmy1vBQP t4rNHc+7lAEwkz8Bm9FOjAY/Lov0tPMm6Gx3mlwMcOAfVss3j8fI+ChqF w2Rrd5AIICQInA8ATMfpeSCL6l180F78zZguDUz+ZyJpeKVDoS+wpbJi2 M=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiAFACCOd1OE7/mI/2dsb2JhbABZDoJ4T4NBpmUBBQaaKwGBCRZ0giUBAQUjVQEQCxgCAgUWCwICCQMCAQIBRQYBDAEHAQEFiDgNrHqeQ4VYF4EqhCuIDm0HgnWBSwEDihWPRYE9hS2MMIJ3YE0 X-IPAS-Result: AiAFACCOd1OE7/mI/2dsb2JhbABZDoJ4T4NBpmUBBQaaKwGBCRZ0giUBAQUjVQEQCxgCAgUWCwICCQMCAQIBRQYBDAEHAQEFiDgNrHqeQ4VYF4EqhCuIDm0HgnWBSwEDihWPRYE9hS2MMIJ3YE0 X-IronPort-AV: E=Sophos;i="4.98,859,1392192000"; d="scan'208";a="90026392" X-Spam-Status: No X-Spam-Level: Received: from act-bufferout-b1.ucsd.edu ([132.239.249.136]) by iport-acv2-out.ucsd.edu with ESMTP; 17 May 2014 09:32:54 -0700 Received: from [127.0.0.1] (unknown [137.110.39.22]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: rml@ad.ucsd.edu) by act-bufferout-b1.ucsd.edu (Postfix) with ESMTPSA id 781A6EBECE; Sat, 17 May 2014 09:32:52 -0700 (PDT) Message-ID: <53778F34.9080006@ucsd.edu> Date: Sat, 17 May 2014 09:32:52 -0700 From: Robert Lawhead User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Paul Eggert , 17504@debbugs.gnu.org Subject: Re: bug in gzgrep References: <20140515233522.GA66011@acsmail.ucsd.edu> <5376B6E3.6080209@cs.ucla.edu> <53776DBD.5080009@ucsd.edu> <5377891A.1030506@cs.ucla.edu> In-Reply-To: <5377891A.1030506@cs.ucla.edu> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 140517-0, 05/17/2014), Outbound message X-Antivirus-Status: Clean X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 17504 Cc: bparent@ucsd.edu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) Thanks for your reply Paul. I'm no longer involved in the maintenance of the Solaris host on which I tested, but this is what I see... 09:17:37 rml@ieng9:rml:1> uname -a SunOS ieng9.ucsd.edu 5.11 11.1 sun4v sparc sun4v Solaris 09:17:44 rml@ieng9:rml:2> ls -l /usr/bin/gzgrep -r-xr-xr-x 1 root bin 6010 Apr 15 2013 /usr/bin/gzgrep 09:18:01 rml@ieng9:rml:3> /usr/bin/gzgrep --version gzgrep (gzip) 1.4 Checking an unsupported (so not updated since release of 11.1) VM... 9:29:44 rml@sol11-1:rml:3> uname -a SunOS sol11-1 5.11 11.1 i86pc i386 i86pc Solaris 09:29:51 rml@sol11-1:rml:4> /usr/bin/gzgrep --version gzgrep (gzip) 1.4 I'll bring this to the attention of the group maintaining the OS in question. Thanks for your work supporting FOSS. -Bob On 5/17/2014 9:06 AM, Paul Eggert wrote: > Robert Lawhead wrote: >> The solaris box is running fully patched 11.1. > > That's, odd, because on the Solaris 11.1 box I have access to, gzgrep is > version 1.5: > > $ uname -srvmpi > SunOS 5.11 11.1 i86pc i386 i86pc > $ gzgrep --version | head -1 > gzgrep (gzip) 1.5 > > Perhaps there's some patch set your sysadmins are not installing? > >> I can confirm that its present in RedHat/CentOS 6.2, and ubuntu precice1 >> which is just a few months old. > > I'm not surprised: those releases were originally made in 2012, and predate > gzip 1.5. They probably don't think this bug worth fixing. > > I wouldn't install gzip 1.5 (released June 2012); like gzip 1.4, it has known > security holes (which I hope Solaris has patched). I'd install gzip 1.6 > (released June 2013). Please see: > > http://www.gnu.org/software/gzip/gzip.html From unknown Mon Jun 23 13:10:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 15 Jun 2014 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator