containerd/core/remotes/docker
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
..
auth auth: add span to FetchToken helpers 2024-05-15 15:54:37 +01:00
config Allow fallback across default ports 2024-06-05 14:39:57 -07:00
schema1 Disable the support for Schema 1 images 2024-02-15 11:11:35 +09:00
authorizer.go Merge pull request #8735 from iain-macdonald/iain-macdonald/issue-6377 2024-01-29 16:18:56 +00:00
converter_fuzz.go Move remotes to core/remotes 2024-01-17 09:52:21 -08:00
converter.go Move remotes to core/remotes 2024-01-17 09:52:21 -08:00
errcode.go Move remotes to core/remotes 2024-01-17 09:52:21 -08:00
errdesc.go Move remotes to core/remotes 2024-01-17 09:52:21 -08:00
fetcher_fuzz.go Move remotes to core/remotes 2024-01-17 09:52:21 -08:00
fetcher_test.go use format string when using printf like commands 2024-08-14 17:04:53 +05:30
fetcher.go Switch to new errdefs package 2024-01-25 22:18:45 -08:00
handler_test.go Move reference to pkg/reference 2024-01-17 09:55:58 -08:00
handler.go Move reference to pkg/reference 2024-01-17 09:55:58 -08:00
httpreadseeker.go Switch to new errdefs package 2024-01-25 22:18:45 -08:00
pusher_test.go Update HTTPFallback to handle tls handshake timeout 2024-04-22 18:53:27 -07:00
pusher.go Prevent panic in Docker pusher. 2025-04-14 21:25:41 +00:00
registry_test.go Move remotes to core/remotes 2024-01-17 09:52:21 -08:00
registry.go Move remotes to core/remotes 2024-01-17 09:52:21 -08:00
resolver_test.go Allow fallback across default ports 2024-06-05 14:39:57 -07:00
resolver_unix.go Use unix and windows specific connection error checks 2024-06-05 14:39:57 -07:00
resolver_windows.go Use unix and windows specific connection error checks 2024-06-05 14:39:57 -07:00
resolver.go resolver/docker: fix confusing "trying next host" log 2024-10-26 14:16:00 +02:00
scope_test.go Move reference to pkg/reference 2024-01-17 09:55:58 -08:00
scope.go Move reference to pkg/reference 2024-01-17 09:55:58 -08:00
status.go Switch to new errdefs package 2024-01-25 22:18:45 -08:00