--- Begin Message ---
Subject: |
Bug#538187: gzip doesn't call close() when writing to stdout |
Date: |
Thu, 23 Jul 2009 13:47:23 -0700 |
Package: gzip
Version: 1.3.12-6
Severity: important
Tags: patch
When gzip is compressing / decompressing regular files, it checks the
return status of close on the outfile. But when compressing / decompressing to
stdout, it doesn't call close before exiting. This can lead to
undetectable write errors on NFS v3 filesystems, where writes can be
buffered locally until the final close or exit triggers an NFS v3 commit.
-- System Information:
Debian Release: 5.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24.2-ls4 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968)
(ignored: LC_ALL set to POSIX)
Shell: /bin/sh linked to /bin/bash
Versions of packages gzip depends on:
ii debianutils 2.30 Miscellaneous utilities specific t
ii libc6 2.7-18 GNU C Library: Shared libraries
gzip recommends no packages.
Versions of packages gzip suggests:
ii less 418-1 Pager program similar to more
-- no debconf information
gzip_1.3.12-6.close_stdout.patch
Description: Text Data
--- End Message ---