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

enforce canonical encoding and MAX_SIZE in VarIntSerializer #216

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 22, 2019

  1. enforce canonical encoding and MAX_SIZE in VarIntSerializer

    `core.serialize.VarIntSerializer` now checks for value bounds of deserialized
    compact size integer. If it enconters non-canonical encoding, or the size
    bigger than `MAX_SIZE` (0x02000000) it throws DeserializationValueBoundsError
    dgpv committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    7641f16 View commit details
    Browse the repository at this point in the history