Affected by GO-2026-4883
and 1 other vulnerabilities
GO-2026-4883: Moby has an Off-by-one error in its plugin privilege validation in github.com/docker/docker
GO-2026-4887: Moby has AuthZ plugin bypass when provided oversized request bodies in github.com/docker/docker
package
Version:
v28.0.0+incompatible
Opens a new window with list of versions in this module.
Published: Feb 19, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
CopyCtx copies from src to dst until either EOF is reached on src or a context is cancelled.
The writer is not closed when the context is cancelled.
After CopyCtx exits due to context cancellation, the goroutine that performed
the copy may still be running if either the reader or writer blocks.
NewCtxReader wraps the given reader with a reader that doesn't proceed with
reading if the context is done.
Note: Read will still block if the underlying reader blocks.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.