https://issues.dlang.org/show_bug.cgi?id=3191

Justin Whear <jus...@economicmodeling.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jus...@economicmodeling.com

--- Comment #3 from Justin Whear <jus...@economicmodeling.com> ---
The DEFLATE decompression algorithm relies on the results of previous blocks,
as it tries to reuse the encoding tree.  From the RFC: "Note that a duplicated
string reference may refer to a string in a previous block; i.e., the backward
distance may cross one or more block boundaries. However a distance cannot
refer past the beginning of the output stream."
(http://www.w3.org/Graphics/PNG/RFC-1951#huffman)

So I think the bug should be clarified to this function allowing block reuse in
the first place.

--

Reply via email to