regular / unbzip2-stream

streaming unbzip2 implementatio in pure javascript for node and browsers
Other
29 stars 23 forks source link

output is corrupted for large streams #1

Closed regular closed 9 years ago

regular commented 9 years ago

The 2nd call to decompressBlock seems to produce garbage. Tested with a >5MB Linux kernel image (compressed size >2MB) I wrote a unit test for long streams and currently try to track down the problem.

regular commented 9 years ago

The problem seems to be upstream in bzip2.js: https://github.com/regular/bzip2.js/blob/master/test/big.js

regular commented 9 years ago

fixed in 1.0.4