[Zlib-devel] Access Overruns reported by C++ Builder's CodeGuard
Ralf Junker
ralfjunker at gmx.de
Tue Dec 29 05:59:25 EST 2009
Embarcadero's C++ Builder 2010 with CodeGuard enabled reports several
access overruns and pointer arithmetic underruns on a simple inflate() call.
The CodeGuard error messages are attached in CodeGuard_log.txt. They are
generated by the inflate() call in overrun.c, processing the data loaded
from test.z. I am compiling from the unmodified zlib 1.2.3.4 files.
I do not really expect this to be zlib problem, but since other test
data reports no such overruns I thought I might send in the details.
Could this be a compiler problem? Any suggestions for a fix are much
appreciated.
Ralf
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: overrun.c
URL: <http://madler.net/pipermail/zlib-devel_madler.net/attachments/20091229/73d30295/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.z
Type: application/x-compress
Size: 1238 bytes
Desc: not available
URL: <http://madler.net/pipermail/zlib-devel_madler.net/attachments/20091229/73d30295/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CodeGuard_log.txt
URL: <http://madler.net/pipermail/zlib-devel_madler.net/attachments/20091229/73d30295/attachment.txt>
More information about the Zlib-devel
mailing list