Salvador c2329aa09e Fix zlib deflate usage
Deflate may return Z_OK even when not all data has been compressed
if the output buffer becomes full.

In practice this is very unlikely to happen because the output buffer
size is always some KBs larger than the size of the data passed for
compression from the upper layers and I think that zlib never expands
the data so much, even on the worst cases.

Anyway, this patch plays on the safe side checking that the output
buffer is not exhausted.

Signed-off-by: Salvador <sfandino@yahoo.com>
2013-10-16 23:06:47 +02:00
..
2009-06-04 18:20:29 +02:00
2010-12-30 00:09:53 +01:00
2013-10-16 23:06:47 +02:00
2012-10-24 03:41:10 +02:00
2012-06-04 22:54:25 +02:00