[Zlib-devel] Access Overruns reported by C++ Builder's CodeGuard
Enrico Weigelt
weigelt at metux.de
Fri Jan 1 03:38:11 EST 2010
Mark Adler wrote:
Hi,
> The pointer arithmetic underrun reports are correct, but
> they are intentional. The reported access overruns are
> not correct.
>
> What is going on is that I have an index to two arrays
> in the range of 257..285. C only supports directly indexing
> arrays starting at zero. So for efficiency inflate does
> something like this:
would it hurt so bad using wasting a few bytes for getting
rid of the pointer arithmetic ?
cu
--
----------------------------------------------------------------------
Enrico Weigelt, metux IT service -- http://www.metux.de/
cellphone: +49 174 7066481 email: info at metux.de skype: nekrad666
----------------------------------------------------------------------
Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------
More information about the Zlib-devel
mailing list