1

Closed

Possible bug in ZlibStream

description

I was using Ionic.Zlib (I needed zlib only) 1.9.1.
 
It happends only with some files but if I read ZlibStream in large chunks (in my case 16384) it fails with "Invalid state" exception, when same file is read using small chunks (1024) everything is fine.
 
Demo project with example file attached.

file attachments

Closed Jun 21, 2011 at 11:29 PM by Cheeso
New test in changeset 79578. The first binary to get this fix will be v1.9.1.6.

comments

Cheeso wrote Jun 21, 2011 at 11:10 PM

This is fixed with v1.9.1.6 . I tested your code against v1.9.1.5, and it failed with an invalid state exception. I tested with v1.9.1.6, and saw no problem.