CVSROOT: /cvs Module name: src Changes by: [email protected] 2020/04/18 11:11:37
Modified files:
lib/libz : gzio.c
Log message:
When opening a completely empty file with gzopen(3), treat it as an
uncompressed file, such that the first gzread(3) results in Z_STREAM_END
rather than in the misleading Z_BUF_ERROR.
I checked that none of the many copies of libz in our tree
suffer from the same bug, after deraadt@ asked.
Bugfix patch from Olivier Taibi <oli at olitb dot net> on bugs@.
OK millert@.
