Affected by GO-2022-0368
and 3 other vulnerabilities
GO-2022-0368: Improper random number generation in github.com/coredns/coredns
GO-2024-3130: CoreDNS vulnerable to TuDoor Attacks in github.com/coredns/coredns
GO-2025-3743: CoreDNS Vulnerable to DoQ Memory Exhaustion via Stream Amplification in github.com/coredns/coredns
GO-2025-3942: CoreDNS: DNS Cache Pinning via etcd Lease ID Confusion in github.com/coredns/coredns
package
Version:
v1.2.2
Opens a new window with list of versions in this module.
Published: Aug 29, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 55
Opens a new window with list of known importers.
Documentation
¶
Package uniq keeps track of "thing" that are either "todo" or "done". Multiple
identical events will only be processed once.
U keeps track of item to be done.
New returns a new initialized U.
ForEach iterates for u executes f for each element that is 'todo' and sets it to 'done'.
Set sets function f in U under key. If the key already exists
it is not overwritten.
SetTodo sets key to 'todo' again.
Unset removes the 'todo' associated with a key
Source Files
¶
Click to show internal directories.
Click to hide internal directories.