Skip to content

Conversation

@johnbartholomew
Copy link
Contributor

Fixes #1051, making the schema definition for 'int64' and 'uint64' types have the expected ranges:

  • int64 minimum is -2^63
  • int64 maximum is 2^63-1
  • uint64 maximum is 2^64-1

Signed-off-by: John Bartholomew jpa.bartholomew@gmail.com

Signed-off-by: John Bartholomew <jpa.bartholomew@gmail.com>
Copy link
Member

@tianon tianon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

(Confirmed that these new values match MAX_UINT64, MIN_INT64, and MAX_INT64.)

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (not a maintainer)

thanks for contributing!

@vbatts
Copy link
Member

vbatts commented Aug 5, 2020

LGTM

Approved with PullApprove

@vbatts vbatts merged commit 80426cc into opencontainers:master Aug 5, 2020
@AkihiroSuda AkihiroSuda mentioned this pull request Jan 24, 2023
@AkihiroSuda AkihiroSuda added this to the v1.1.0 milestone Feb 1, 2023
@AkihiroSuda AkihiroSuda mentioned this pull request Jun 26, 2023
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JSON Schema definitions of 'int64' and 'uint64' types have ranges not representable in 64 bits

5 participants