Skip to content
New issue

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

Bug report: VarInt Decode bug #1962

Open
cyrw opened this issue Jan 10, 2025 · 0 comments
Open

Bug report: VarInt Decode bug #1962

cyrw opened this issue Jan 10, 2025 · 0 comments
Labels

Comments

@cyrw
Copy link

cyrw commented Jan 10, 2025

Describe the bug
After encoding and decoding, the output result is found to be wrong.
just maybe, "VarInt Decode" step have bug.

use VarInt encode this number: 18446744072844974849
and use VarInt decode output, get this number: 18446744072844974000
output number NOT equal input number

To Reproduce

open this link:
https://gchq.github.io/CyberChef/#recipe=VarInt_Encode()VarInt_Decode()&input=MTg0NDY3NDQwNzI4NDQ5NzQ4NDk&oenc=65001

Expected behaviour
output number == input number == 18446744072844974849

Screenshots
bug1

Desktop (if relevant, please complete the following information):

  • OS: Windows10
  • Browser: chrome 131.0.6778.206
  • CyberChef version: Version 10.19.4, Compile time: 23/10/2024 15:12:24 UTC

Additional context
nothing

@cyrw cyrw added the bug label Jan 10, 2025
@cyrw cyrw changed the title Bug report: <Insert title here> Bug report: VarInt Decode bug Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant