Overview
| Artifact ID: | b7ac02ec3547c5cf1c39d2626512091104cd93b2 |
|---|---|
| Ticket: | 25842c161fd621d8d111430a3637688f55aeaa94
zlib deflate streaming raises error in case of zero length input |
| User & Date: | aspect on 2016-09-03 08:44:05 |
Changes
- closedate changed to: "2457634.86395725"
- closer changed to: "aspect"
- icomment:
This patch has broken finalizing streams with [$zlib put -finalize ""] or [zlib finalize]: package require zlib set t1 [ set c [zlib stream gzip] $c put abcdeEDCBA.. $c finalize $c get ] set t2 [ set c [zlib stream gzip] $c put -finalize abcdeEDCBA.. $c get ] puts [expr {$t1 eq $t2}] # => 0 Here $t2 is the correct stream, but $t1 is truncated. - login: "aspect"
- mimetype: "text/plain"