~c-icap/c-icap/trunk

Viewing all changes in revision 911.

  • Committer: chtsanti
  • Date: 2018-01-10 10:52:03 UTC
  • Revision ID: svn-v4:950cb5d8-81e4-40ab-8cb8-c719d5138fe1:c-icap-server/trunk:1324
c-icap crashes on preview with delfate encoded data.

When the deflate encoded data are not enough to produce a single byte of
uncompressed data c-icap will crash on an assertion failure.
This patch removes the assert calls from decompressing code and just return 
errors from related functions.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: