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

fix: removed int overflow vulnerability #29

Merged
merged 1 commit into from
Sep 11, 2021
Merged

Conversation

jay-dee7
Copy link
Member

Wrapped the overflowing int with uint and restricted the numbers of layers within a manifest to be within math.MaxInt16

Signed-off-by: jay-dee7 jasdeepsingh.uppal@gmail.com

Wrapped the overflowing int with uint and restricted the numbers of
layers within a manifest to be within math.MaxInt16

Signed-off-by: jay-dee7 <jasdeepsingh.uppal@gmail.com>
@jay-dee7 jay-dee7 requested a review from guacamole September 11, 2021 06:58
@jay-dee7 jay-dee7 self-assigned this Sep 11, 2021
Copy link
Member

@guacamole guacamole left a comment

Choose a reason for hiding this comment

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

LGTM 🥇

@guacamole guacamole merged commit 49316d1 into master Sep 11, 2021
@guacamole guacamole deleted the int-overflow-fix branch September 11, 2021 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants