Skip to content

fix: removed int overflow vulnerability#29

Merged
guacamole merged 1 commit intomasterfrom
int-overflow-fix
Sep 11, 2021
Merged

fix: removed int overflow vulnerability#29
guacamole merged 1 commit intomasterfrom
int-overflow-fix

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 [email protected]

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 <[email protected]>
@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