You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2024. It is now read-only.
Invalid block checksum: 3942400633 vs 3364695891 for {"type":"Buffer","data":[153,112,97,110,99,104,105,32,112,105,7,0,3,21,0,96,117,110,99,104,105,10]} @26
After investigating in the guts of lib/encoder_stream.jshere it appears that it computes the checksum on a buffer that contains the compressed block, and some padding: instead of only 9970616e636869207069070003150060756e6368690a it hashes 9970616e636869207069070003150060756e6368690a0000000000000000000000000000000000000000000000000000000000, which yields the error.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
After compressing a block and decompressing it with
blockChecksum
enabled,node-lz4
bombs:results in:
After investigating in the guts of
lib/encoder_stream.js
here it appears that it computes the checksum on a buffer that contains the compressed block, and some padding: instead of only9970616e636869207069070003150060756e6368690a
it hashes9970616e636869207069070003150060756e6368690a0000000000000000000000000000000000000000000000000000000000
, which yields the error.The text was updated successfully, but these errors were encountered: