Your message dated Sun, 03 Feb 2008 00:36:23 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#463739: fixed in moreutils 0.27
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: moreutils
Version: 0.26
Severity: grave
Tags: patch

If TMPDIR lives on a filesystem that is full, vidir will be able to open
a temp file, but not write to it. The user will then be presented with an
empty file, and if they leave their editor, vidir will act as if all
lines were deleted, and attempt to rm every file.

(I hesitate to use "grave" for one small program in a package with many
others, but this could cause some severe data loss. I was saved by the
fact that vidir does not attempt to recursively delete directories.)

I fixed this by checking the return value of close as well (see trivial
patch). You might want to change the first die to "cannot create" or
something like that to distinguish between the two different sorts of
errors that can happen.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-rc5 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages moreutils depends on:
ii  libc6                         2.7-5      GNU C Library: Shared libraries
ii  perl                          5.8.8-12   Larry Wall's Practical Extraction 

moreutils recommends no packages.

-- no debconf information
--- /usr/bin/vidir      2007-11-28 14:37:45.000000000 -0500
+++ /home/decklin/bin/vidir     2008-02-02 16:02:03.000000000 -0500
@@ -102,7 +102,7 @@
        print OUT "$c\t$_\n";
 }
 @dir=();
-close OUT;
+close OUT || die "$0: cannot write ".$tmp->filename.": $!\n";
 
 my @editor="vi";
 if (-x "/usr/bin/editor") {

--- End Message ---
--- Begin Message ---
Source: moreutils
Source-Version: 0.27

We believe that the bug you reported is fixed in the latest version of
moreutils, which is due to be installed in the Debian FTP archive:

moreutils_0.27.dsc
  to pool/main/m/moreutils/moreutils_0.27.dsc
moreutils_0.27.tar.gz
  to pool/main/m/moreutils/moreutils_0.27.tar.gz
moreutils_0.27_i386.deb
  to pool/main/m/moreutils/moreutils_0.27_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joey Hess <[EMAIL PROTECTED]> (supplier of updated moreutils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 02 Feb 2008 16:42:18 -0500
Source: moreutils
Binary: moreutils
Architecture: source i386
Version: 0.27
Distribution: unstable
Urgency: low
Maintainer: Joey Hess <[EMAIL PROTECTED]>
Changed-By: Joey Hess <[EMAIL PROTECTED]>
Description: 
 moreutils  - additional unix utilities
Closes: 463739
Changes: 
 moreutils (0.27) unstable; urgency=low
 .
   * vidir: Check exit codes of close. Closes: #463739
Files: 
 b366006e1e5d57de88f4ea21b234fb6e 627 utils optional moreutils_0.27.dsc
 9b0d2fa1889bbf06ee7a0d176fb21a64 30479 utils optional moreutils_0.27.tar.gz
 6e7e521c4663e98534891f6ce07b85c8 38804 utils optional moreutils_0.27_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHpOQg2tp5zXiKP0wRAqByAKCqljnVWYX+oRLcZgM9m09OZB1wDQCeJnQ2
Rps04LmmwB7CNr8OYYPzCY8=
=/YKX
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to