Fwd: DeflateStream can't handle input that exceeds the maximum number of non-compressible blocks

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Fwd: DeflateStream can't handle input that exceeds the maximum number of non-compressible blocks

Max Leske
Hi guys,

Summary: The Deflate code can't handle more than (2^16) - 1 non-compressible blocks but it's possible to exceed this maximum with the right data. In addition, when this happens and the plugin is used (GZip / Zip) it will crash the VM.

Please take a look at the issues I've opened for the Deflate plugin (https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/193) and the Deflate image code (https://pharo.fogbugz.com/f/cases/20973/DeflateStream-can-t-handle-input-that-exceeds-the-maximum-number-of-non-compressible-blocks). I expect that this also concerns Squeak.

Cheers,
Max


Reply | Threaded
Open this post in threaded view
|

Re: Fwd: DeflateStream can't handle input that exceeds the maximum number of non-compressible blocks

David T. Lewis
On Wed, Jan 17, 2018 at 07:07:53AM +0100, Max Leske wrote:

> Hi guys,
>
> Summary: The Deflate code can't handle more than (2^16) - 1
> non-compressible blocks but it's possible to exceed this maximum with the
> right data. In addition, when this happens and the plugin is used (GZip /
> Zip) it will crash the VM.
>
> Please take a look at the issues I've opened for the Deflate plugin (
> https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/193) and the
> Deflate image code (
> https://pharo.fogbugz.com/f/cases/20973/DeflateStream-can-t-handle-input-that-exceeds-the-maximum-number-of-non-compressible-blocks).
> I expect that this also concerns Squeak.

Thanks Max,

I'm sure that this does affect Squeak also.

Dave