Bdale Garbee wrote:
> This patch proposed by a user of my Debian packaging of gzip seems like
> a reasonable addition. Opinions?
Good catch.
However, there are many exit points, not just that one
at the end of main. This patch ensures that no matter
which one is taken, that close is performed an
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 err
2 matches
Mail list logo