We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BEP 52 — The BitTorrent protocol specification version 2 Integers have no size limitation.
Integers have no size limitation.
Currently, node-bencode allows decoded integer data to be corrupted. It should either use bigints or throw on a long integer input.
bigint
node-bencode/lib/decode.js
Lines 18 to 28 in 2fa2c7e
yourdecode("i9007199254740991e") === yourdecode("i9007199254740992e")
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug: it fails to satisfy the specification.
Currently, node-bencode allows decoded integer data to be corrupted. It should either use
bigint
s or throw on a long integer input.node-bencode/lib/decode.js
Lines 18 to 28 in 2fa2c7e
The text was updated successfully, but these errors were encountered: