/[Apache-SVN]
ViewVC logotype

Revision 1805336


Jump to revision: Previous Next
Author: kotkov
Date: Thu Aug 17 20:14:47 2017 UTC (6 years, 9 months ago)
Changed paths: 3
Log Message:
Create a backport branch for r1805301 (Fix for an endless loop in the
deflate bucket with the truncated input).

Since the deflate bucket has been heavily tweaked in trunk, the fix
required adjustment.  The test required a couple of tweaks as well.

* buckets/deflate_buckets.c
  (serf_deflate_read): Handle a case when we hit the end of input
   stream and zlib can't continue, even though there's enough output
   space.  If that happens, return an error.

* test/test_buckets.c
  (test_deflate_bucket_truncated_data): New test, fails without the fix.
  (test_buckets): Add new test.


Changed paths

Path Details
Directoryserf/branches/1.3.x-r1805301/
(Copied from serf/branches/1.3.x, r1805335)
added , props changed
Directoryserf/branches/1.3.x-r1805301/buckets/deflate_buckets.c modified , text changed
Directoryserf/branches/1.3.x-r1805301/test/test_buckets.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26