opnsense-src/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 Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
gzexe
gzexe.1
gzip.1 Correct documentation year. 2019-01-07 08:29:27 +00:00
gzip.c fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
Makefile Create links for xzdiff. 2017-12-05 07:01:10 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
unbzip2.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
unlz.c Remove unneeded checks for prelen. 2020-03-14 05:57:22 +00:00
unpack.c Remove unneeded checks for prelen. 2020-03-14 05:57:22 +00:00
unxz.c gzip: fix error handling in unxz 2022-03-02 15:56:31 -06:00
zdiff
zdiff.1
zforce
zforce.1
zmore
zmore.1
znew
znew.1
zuncompress.c Set errno to EFTYPE instead of EINVAL to be more consistent with the 2017-11-25 09:03:38 +00:00