moby--moby/distribution
Brian Goff c747d9f8ee
pull: Validate layer digest format
Otherwise a malformed or empty digest may cause a panic.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit a7d4af84bd)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-02-02 13:37:24 +01:00
..
fixtures/validate_manifest
metadata
utils
xfer
config.go
errors.go
errors_test.go
manifest.go
manifest_test.go
pull.go
pull_v2.go pull: Validate layer digest format 2021-02-02 13:37:24 +01:00
pull_v2_test.go
pull_v2_unix.go
pull_v2_windows.go
push.go
push_v2.go
push_v2_test.go
registry.go
registry_unit_test.go