regular / unbzip2-stream

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

Do not truncate huffman buffers #33

Closed sfriesel closed 4 years ago

sfriesel commented 4 years ago

One element of the buffers remained unused, causing a buffer overflow for symbols encoded with 20 bits.

sfriesel commented 4 years ago

May fix #30

regular commented 4 years ago

What a weird bug. Thanks for catching it.

regular commented 4 years ago

Published as 1.4.1