manzt / numcodecs.js

Buffer compression and transformation codecs
MIT License
29 stars 6 forks source link

Fixed crash in lz4 decompress of large data. #23

Closed khustup closed 3 years ago

khustup commented 3 years ago

lz4 decompression is crashing with bus error on node.js. The issue is that destination buffer is allocated with the source size instead of destination size.

manzt commented 3 years ago

Ah 😅 , thanks a lot! I'll get the test runner working and merge. #24