GNU bug report logs - #18679
gzip-1.6 tests/unpack-invalid may override user file in /tmp

Previous Next

Package: gzip;

Reported by: Kiyoshi KANAZAWA <yoi_no_myoujou <at> yahoo.co.jp>

Date: Fri, 10 Oct 2014 13:18:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#18679: closed (gzip-1.6 tests/unpack-invalid may override
 user file in /tmp)
Date: Fri, 10 Oct 2014 18:44:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 10 Oct 2014 11:43:21 -0700
with message-id <543828C9.7070707 <at> cs.ucla.edu>
and subject line Re: bug#18679: gzip-1.6 tests/unpack-invalid may override user file in /tmp
has caused the debbugs.gnu.org bug report #18679,
regarding gzip-1.6 tests/unpack-invalid may override user file in /tmp
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
18679: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18679
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Kiyoshi KANAZAWA <yoi_no_myoujou <at> yahoo.co.jp>
To: "bug-gzip <at> gnu.org" <bug-gzip <at> gnu.org>
Subject: gzip-1.6 tests/unpack-invalid may override user file in /tmp
Date: Fri, 10 Oct 2014 22:16:46 +0900 (JST)
[Message part 3 (text/plain, inline)]
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 tests directory.


--- Kiyoshi <yoi_no_myoujou <at> yahoo.co.jp>
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Kiyoshi KANAZAWA <yoi_no_myoujou <at> yahoo.co.jp>, 18679-done <at> debbugs.gnu.org
Subject: Re: bug#18679: gzip-1.6 tests/unpack-invalid may override user file
 in /tmp
Date: Fri, 10 Oct 2014 11:43:21 -0700
[Message part 6 (text/plain, inline)]
Kiyoshi KANAZAWA wrote:

> They should be created in tests directory.

Thanks; I pushed the attached to fix that.
[0001-tests-use-local-dir-for-output.patch (text/plain, attachment)]

This bug report was last modified 10 years and 224 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.