mirror of
https://github.com/opnsense/src.git
synced 2026-05-27 03:33:51 -04:00
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
|
||
|---|---|---|
| .. | ||
| 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 | ||