From unknown Wed Jun 18 23:08:12 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#18679 <18679@debbugs.gnu.org> To: bug#18679 <18679@debbugs.gnu.org> Subject: Status: gzip-1.6 tests/unpack-invalid may override user file in /tmp Reply-To: bug#18679 <18679@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:08:12 +0000 retitle 18679 gzip-1.6 tests/unpack-invalid may override user file in /tmp reassign 18679 gzip submitter 18679 Kiyoshi KANAZAWA severity 18679 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 10 09:17:24 2014 Received: (at submit) by debbugs.gnu.org; 10 Oct 2014 13:17:24 +0000 Received: from localhost ([127.0.0.1]:39781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xca4R-000160-PV for submit@debbugs.gnu.org; Fri, 10 Oct 2014 09:17:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47794) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xca4M-00015i-Ei for submit@debbugs.gnu.org; Fri, 10 Oct 2014 09:17:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xca4C-0000Mn-E7 for submit@debbugs.gnu.org; Fri, 10 Oct 2014 09:17:18 -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.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34330) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xca4C-0000Mj-Aa for submit@debbugs.gnu.org; Fri, 10 Oct 2014 09:17:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xca44-0002Jh-Qt for bug-gzip@gnu.org; Fri, 10 Oct 2014 09:17:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xca3x-0000HF-7X for bug-gzip@gnu.org; Fri, 10 Oct 2014 09:17:00 -0400 Received: from web101218.mail.kks.yahoo.co.jp ([183.79.100.222]:43259) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Xca3w-0000EN-HE for bug-gzip@gnu.org; Fri, 10 Oct 2014 09:16:53 -0400 Received: (qmail 64678 invoked by uid 60001); 10 Oct 2014 13:16:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1412947007; bh=I20e03REEXetXg1gpnEPuDkn3OPeLCISPe08TaGuFaI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=kEYnCXOJEQS9mue05Ezewkwh34yP/rUDRMKI5LCJWcA2eEZ4iyKYY8tEDfgbVJeGnHNzKAQ06aAhxeXi7bh+Galod2KjVxJZZgrRBnXTeNyyXl9oGQG2Bh+VOZADcWy5ux1q2H8+q5+M/NXM+/hP2XdjCtZiYr53Xl3XF5MkWSI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=KT8eKzETbWWlloH+fhTilznTFVjsZmsqBF+9d1tFTQSoOJxnQ1H+udHat6k5SDQbTt0azvOyoqFm10s61DPF7kVtvPNJcCwiYlNWkmiV7V/o0svDoa0d4HyMK+iwxqc0It0fYiX+rcTlIAFzUdcYYBTO9nxwveJRYt5/hQRk0aI=; Message-ID: <988336.62941.qm@web101218.mail.kks.yahoo.co.jp> X-YMail-OSG: UmhOxLIVM1lBm.Ca4G3nxEL2iPQ8oPSokNvf0OyDqxnmcFwxFPUEXgCdq9wTLmVHXktAM7e5fWg_OLElixUbo4fm9.QCse7wWEHkwd.xBIYnq02HD45jFENOnijzpUavvgtzokReBFIym0zVcxoF9Fb5ItLAVujUAoM9lN73mQMnFaynetheRQZOQRaTZ4urRw3KwTrVSSpieCjMIe2lXw3QvkWv3bJJ2.m7zgnDEVAl2qOC43BZEch8zAPgUfnUsgj8Oc.0ojKqvphkEk8X4MBsKFdXDk5baqNrUvGPcB4L77nHv0BoMkOffxLEI6Wua_5br1KPrREpJVLDXN4ypQ_.TuvNl37mLtb_MhF.MrVV7jhCIPeyAeVxfcxf1gmjG3zfd6z124Bc5sNYOZNxivo6qWIpat2lbxg8mlLLAtX9HWxTwIKUqtMWHzdyCMls.OjFWLvju5Lb5p_9pixnnYivydMv9bARu9rWiQLOFVlGikE2SSlwwgzJpMvUTkGD5MxkPaskT0RKzImqeGxJQdnQWkGpTXJnlKbTblnvl3D5vbKOLFmjGxtDnd_EtOisUg-- Received: from [218.228.137.188] by web101218.mail.kks.yahoo.co.jp via HTTP; Fri, 10 Oct 2014 22:16:46 JST X-Mailer: YahooMailWebService/0.8.111_56 X-YMail-JAS: 4HcdTNEVM1ka9VM6aFLDa0sqgSx1SyMbzCJC2gFdYc7B5qWuNhW6JnOI9YQw3TgincuBSVdyVq8B_har3wqnuCHd2DtCo3m_.yqSjas94hpHVyyB2vW1GTb8fGhQxu2ffGhO Date: Fri, 10 Oct 2014 22:16:46 +0900 (JST) From: Kiyoshi KANAZAWA Subject: gzip-1.6 tests/unpack-invalid may override user file in /tmp To: "bug-gzip@gnu.org" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-2045590583-1412947006=:62941" X-detected-operating-system: by eggs.gnu.org: iOS iPhone or iPad 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: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Kiyoshi KANAZAWA 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: -4.0 (----) --0-2045590583-1412947006=:62941 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello,=0A=0AIn file "tests/unpack-invalid", line 29=0A"if gzip -d /tmp= /out 2>/tmp/err; then"=0A=0AUser may be using the same file: /tmp/out & /tm= p/err.=0AThey should be created in tests directory.=0A=0A=0A--- Kiyoshi =0A --0-2045590583-1412947006=:62941 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hello,

In file "tests/unpack-invalid", line 29
"if gzip -d <in >/= tmp/out 2>/tmp/err; then"

User may be using the= same file: /tmp/out & /tmp/err.
They should be created in te= sts directory.


--- Kiyoshi <yoi_= no_myoujou@yahoo.co.jp>

--0-2045590583-1412947006=:62941-- From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 10 14:43:32 2014 Received: (at 18679-done) by debbugs.gnu.org; 10 Oct 2014 18:43:32 +0000 Received: from localhost ([127.0.0.1]:40372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XcfA3-0002cF-Jt for submit@debbugs.gnu.org; Fri, 10 Oct 2014 14:43:31 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:45726) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xcf9y-0002bv-Uf for 18679-done@debbugs.gnu.org; Fri, 10 Oct 2014 14:43:28 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id CC3B0A60012; Fri, 10 Oct 2014 11:43:25 -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 kVFLlMfE56Jb; Fri, 10 Oct 2014 11:43:21 -0700 (PDT) Received: from [192.168.1.9] (pool-71-177-17-123.lsanca.dsl-w.verizon.net [71.177.17.123]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 60AE539E8011; Fri, 10 Oct 2014 11:43:21 -0700 (PDT) Message-ID: <543828C9.7070707@cs.ucla.edu> Date: Fri, 10 Oct 2014 11:43:21 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: Kiyoshi KANAZAWA , 18679-done@debbugs.gnu.org Subject: Re: bug#18679: gzip-1.6 tests/unpack-invalid may override user file in /tmp References: <988336.62941.qm@web101218.mail.kks.yahoo.co.jp> In-Reply-To: <988336.62941.qm@web101218.mail.kks.yahoo.co.jp> Content-Type: multipart/mixed; boundary="------------090606030706010608070605" X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 18679-done 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.3 (---) This is a multi-part message in MIME format. --------------090606030706010608070605 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Kiyoshi KANAZAWA wrote: > They should be created in tests directory. Thanks; I pushed the attached to fix that. --------------090606030706010608070605 Content-Type: text/plain; charset=UTF-8; name="0001-tests-use-local-dir-for-output.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-tests-use-local-dir-for-output.patch" RnJvbSA2ZmZkZjZlYTcxYmZiMjg5ZWZkMTAyOTA1Nzk0MDVlYTQ4MGMwZTQ5IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBQYXVsIEVnZ2VydCA8ZWdnZXJ0QGNzLnVjbGEuZWR1 PgpEYXRlOiBGcmksIDEwIE9jdCAyMDE0IDExOjQxOjI1IC0wNzAwClN1YmplY3Q6IFtQQVRD SF0gdGVzdHM6IHVzZSBsb2NhbCBkaXIgZm9yIG91dHB1dAoKUmVwb3J0ZWQgYnkgS2l5b3No aSBLQU5BWkFXQSBpbjogaHR0cDovL2J1Z3MuZ251Lm9yZy8xODY3OQoqIHRlc3RzL3VucGFj ay1pbnZhbGlkOiBVc2UgbG9jYWwgZGlyZWN0b3J5LCBub3QgL3RtcCwgZm9yIG91dHB1dC4K LS0tCiB0ZXN0cy91bnBhY2staW52YWxpZCB8IDIgKy0KIDEgZmlsZSBjaGFuZ2VkLCAxIGlu c2VydGlvbigrKSwgMSBkZWxldGlvbigtKQoKZGlmZiAtLWdpdCBhL3Rlc3RzL3VucGFjay1p bnZhbGlkIGIvdGVzdHMvdW5wYWNrLWludmFsaWQKaW5kZXggZGFhN2IyNS4uMjU2OWNkYiAx MDA3NTUKLS0tIGEvdGVzdHMvdW5wYWNrLWludmFsaWQKKysrIGIvdGVzdHMvdW5wYWNrLWlu dmFsaWQKQEAgLTI2LDcgKzI2LDcgQEAgZm9yIGlucHV0IGluIFwKIAogICBwcmludGYgIiRp bnB1dCIgPmluIHx8IGZyYW1ld29ya19mYWlsdXJlXwogCi0gIGlmIGd6aXAgLWQgPGluID4v dG1wL291dCAyPi90bXAvZXJyOyB0aGVuCisgIGlmIGd6aXAgLWQgPGluID5vdXQgMj5lcnI7 IHRoZW4KICAgICBmYWlsPTEKICAgZWxzZQogICAgIGZhaWw9MAotLSAKMS45LjMKCg== --------------090606030706010608070605-- From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 10 16:05:02 2014 Received: (at 18679) by debbugs.gnu.org; 10 Oct 2014 20:05:02 +0000 Received: from localhost ([127.0.0.1]:40457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XcgQv-0007R0-FZ for submit@debbugs.gnu.org; Fri, 10 Oct 2014 16:05:02 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:43498) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XcgQt-0007Qr-M2 for 18679@debbugs.gnu.org; Fri, 10 Oct 2014 16:05:00 -0400 Received: by mail-wg0-f49.google.com with SMTP id x12so4766862wgg.20 for <18679@debbugs.gnu.org>; Fri, 10 Oct 2014 13:04:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=nnceE7T6ZdcML5eRD/WUhcSJ/KsKgfpChe5edtKE9bg=; b=QOhzVmA9icUAApJRFNmxLTHsDUs09EjaOFKL50nbKILHP+3RHTwRlmTl2iB3/d1RCV 2OOxkT1lBrrNCdQcY5AqAZBW9TaNvRgm1ISTbnMScOXYYaa/sq5nfGMHjQnRJMFLOQt0 DE2dJQtGiQsHbKPD1uK2sHFRaflVb6rj0qR2dQ2Yl1GSjNJU3Cu7KEE88x4Tb/Iz6O9F DrDyx7MW9s/Xhtf1mSOvDfMQD3zm/1SXe885Bsyolcw5LmgvGAqdGSXZEZpP7HbNsU+A PgomUt0+Ivp+pMNV9bXxopo76GJLHabh67SkOag+r/jUBnj+AnX4mfyO5pmfoBrwky26 rIqQ== X-Received: by 10.180.184.229 with SMTP id ex5mr1532287wic.68.1412971498568; Fri, 10 Oct 2014 13:04:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.86.131 with HTTP; Fri, 10 Oct 2014 13:04:38 -0700 (PDT) In-Reply-To: <543828C9.7070707@cs.ucla.edu> References: <988336.62941.qm@web101218.mail.kks.yahoo.co.jp> <543828C9.7070707@cs.ucla.edu> From: Jim Meyering Date: Fri, 10 Oct 2014 13:04:38 -0700 X-Google-Sender-Auth: Hszzn-4xTAFXSMCGh-zSNA6-UHY Message-ID: Subject: Re: bug#18679: gzip-1.6 tests/unpack-invalid may override user file in /tmp To: 18679@debbugs.gnu.org, Paul Eggert , yoi_no_myoujou@yahoo.co.jp Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18679 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: -0.7 (/) On Fri, Oct 10, 2014 at 11:43 AM, Paul Eggert wrote: > Kiyoshi KANAZAWA wrote: > >> They should be created in tests directory. Ouch. Thank you for catching that. From unknown Wed Jun 18 23:08:12 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 08 Nov 2014 12:24:04 +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