Affected by GO-2022-1107
and 6 other vulnerabilities
GO-2022-1107 : Container build can leak any path on the host into the container in github.com/docker/docker
GO-2023-1699 : Docker Swarm encrypted overlay network may be unauthenticated in github.com/docker/docker
GO-2023-1700 : Docker Swarm encrypted overlay network traffic may be unencrypted in github.com/docker/docker
GO-2023-1701 : Docker Swarm encrypted overlay network with a single endpoint is unauthenticated in github.com/docker/docker
GO-2025-3829 : Moby firewalld reload removes bridge network isolation in github.com/docker/docker
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
Discover Packages
github.com/docker/docker
pkg
locker
package
Version:
v20.10.18+incompatible
Opens a new window with list of versions in this module.
Published: Sep 8, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package locker provides a mechanism for creating finer-grained locking to help
free up more global locks to handle other tasks.
The implementation looks close to a sync.Mutex, however the user must provide a
reference to use to refer to the underlying lock when locking and unlocking,
and unlock may generate an error.
If a lock with a given name does not exist when `Lock` is called, one is
created.
Lock references are automatically cleaned up on `Unlock` if nothing else is
waiting for the lock.
ErrNoSuchLock is returned when the requested lock does not exist
Deprecated: use github.com/moby/locker.ErrNoSuchLock
New creates a new Locker
Deprecated: use github.com/moby/locker.New
Locker provides a locking mechanism based on the passed in reference name
Deprecated: use github.com/moby/locker.Locker
Source Files
¶
Click to show internal directories.
Click to hide internal directories.