[Zlib-devel] zlibwapi - unzGetCurrentFileInfo BUG (NULL pointer write access fail)
Hiroshi Kuno
hkuno-zlib at microhouse.co.jp
Wed Apr 21 05:27:46 EDT 2010
Hi, Gilles.
I found a backward imcompatible bug in unzGetCurrentFileInfo().
> unzGetCurrentFileInfo(unzip, /*fileinfo*/NULL, name, sizeof(name), /*extra*/NULL, 0, /*comment*/NULL, 0); // I need a entry name only.
That code occur "NULL pointer write accress fail" in zlibwapi v1.2.4.
But that code run successfully in zlibwapi v1.2.3.
We allowed that unzGetCurrentFileInfo()'s 2nd parameter "pfile_info" is NULL in v1.2.3.
More information about the Zlib-devel
mailing list