freebsd-nq/usr.bin/gzip
Eric van Gyzen 9bee45e915 gzip: fix error handling in unxz
The result of fstat() was not checked.  Furthermore, there was a
redundant check of st.st_size.  Fix both.

Reported by:    Coverity
MFC after:	1 week
Sponsored by:	Dell EMC Isilon

(cherry picked from commit 58135fbd8b)
2022-03-02 15:56:31 -06:00
..
tests
gzexe
gzexe.1
gzip.1
gzip.c
Makefile
Makefile.depend
Makefile.depend.options
unbzip2.c
unlz.c
unpack.c
unxz.c
zdiff
zdiff.1
zforce
zforce.1
zmore
zmore.1
znew
znew.1
zuncompress.c