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

[release/1.6] archive: validate digests before use #7490

Merged

Conversation

samuelkarp
Copy link
Member

@samuelkarp samuelkarp commented Oct 7, 2022

(Cherry-pick #7488)

digest.Algorithm() and digest.Encoded() may panic for invalid digests. Validate prior to calling those methods.

Signed-off-by: Samuel Karp samuelkarp@google.com
(cherry picked from commit f9c9121)
Signed-off-by: Samuel Karp samuelkarp@google.com

digest.Algorithm() and digest.Encoded() may panic for invalid digests.
Validate prior to calling those methods.

Signed-off-by: Samuel Karp <samuelkarp@google.com>
(cherry picked from commit f9c9121)
Signed-off-by: Samuel Karp <samuelkarp@google.com>
@fuweid fuweid merged commit d9e2ba2 into containerd:release/1.6 Oct 7, 2022
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.

None yet

3 participants