Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.

Fix readvarint32 overflow for normal integer ranges#106

Open
xdnw wants to merge 2 commits into
protobufjs:masterfrom
xdnw:master
Open

Fix readvarint32 overflow for normal integer ranges#106
xdnw wants to merge 2 commits into
protobufjs:masterfrom
xdnw:master

Conversation

@xdnw
Copy link
Copy Markdown

@xdnw xdnw commented Feb 4, 2024

readVarInt32 will have issues for numbers outside javascripts MAX_SAFE_INTEGER

xdnw added 2 commits February 4, 2024 11:44
Reading varlongs will still fail for larger values
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant