101arrowz/fflate

gunzipSync return array with 143.000.000 length

zalenskiSofteq opened this issue · 2 comments

How to reproduce

call gunzipSync with Uint8Array [31, 139, 8] as the argument

The problem

argument with 3 bytes breaks the library

image

This should throw an error, will fix for the next version.

Fixed in v0.8.0.