Skip to content

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

Merged
fuweid merged 1 commit intocontainerd:release/1.6from
samuelkarp:archive-dgst-validate/1.6
Oct 7, 2022
Merged

[release/1.6] archive: validate digests before use#7490
fuweid merged 1 commit intocontainerd:release/1.6from
samuelkarp:archive-dgst-validate/1.6

Conversation

@samuelkarp
Copy link
Copy Markdown
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 [email protected]
(cherry picked from commit f9c9121)
Signed-off-by: Samuel Karp [email protected]

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

Signed-off-by: Samuel Karp <[email protected]>
(cherry picked from commit f9c9121)
Signed-off-by: Samuel Karp <[email protected]>
@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.

3 participants