For Programmers: Free Programming Magazines  


Home > Archive > Compression > March 2007 > Z_BUF_ERROR in zlib









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Z_BUF_ERROR in zlib
byaarov@yahoo.com

2007-03-26, 9:56 pm

On some streams, inflate generates a Z_BUF_ERROR. I dont see the
examples code in zlib (like zpipe.c) deal with that error. Is this
error safe to ignore?

Mark Adler

2007-03-28, 3:56 am

On Mar 26, 5:06 pm, byaa...@yahoo.com wrote:
> On some streams, inflate generates a Z_BUF_ERROR. I dont see the
> examples code in zlib (like zpipe.c) deal with that error. Is this
> error safe to ignore?


It's not the stream by itself that incites the error -- it's the way
the software in question happens to to be breaking up the pieces to
feed zlib.

In any case, please read http://zlib.net/zlib_how.html . It explains
in detail what Z_BUF_ERROR means and what to do with it.

Mark

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com