[Zlib-devel] [PATCH] One remaining Valgrind error
Mark Adler
madler at madler.net
Fri Aug 24 18:24:58 EDT 2012
On Aug 16, 2012, at 11:23 AM, Daniel Richard G. wrote:
> ==7349== Conditional jump or move depends on uninitialised value(s)
> ==7349== at 0x40512C: fill_window (deflate.c:1442)
The comment just below that line appears to verify valgrind's finding:
/* If n is not on any hash chain, prev[n] is garbage but
* its value will never be used.
*/
I will look for a more gentle way than a 64K memset to avoid that uninitialized access (or "uninitialised" access as Julian writes).
Mark
More information about the Zlib-devel
mailing list