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

Commits on Oct 7, 2022

  1. archive: validate digests before use

    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>
    samuelkarp committed Oct 7, 2022
    Copy the full SHA
    06f82ef View commit details
    Browse the repository at this point in the history