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 |
||
---|---|---|
.. | ||
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 |