containerd/core/remotes
Cesar Talledo 8a638b71ae Prevent panic in Docker pusher.
Prevent a panic in the Docker pusher pushWriter, by checking that
the pipe is non nil before attempting to use it.

The panic was found by Moby issue #46746 (https://github.com/moby/moby/issues/46746).
With this fix the panic no longer reproduces.

Signed-off-by: Cesar Talledo <cesar.talledo@docker.com>
2025-04-14 21:25:41 +00:00
..
docker Prevent panic in Docker pusher. 2025-04-14 21:25:41 +00:00
errors Move remotes to core/remotes 2024-01-17 09:52:21 -08:00
handlers_test.go Move remotes to core/remotes 2024-01-17 09:52:21 -08:00
handlers.go core/remotes: Handle attestations in MakeRefKey 2025-03-13 18:18:21 +00:00
resolver.go Move remotes to core/remotes 2024-01-17 09:52:21 -08:00