GO-2024-2943: Lightning Network Daemon (LND)'s onion processing logic leads to a denial of service in github.com/lightningnetwork/lnd
package
Version:
v0.9.1-beta-rc1-branch
Opens a new window with list of versions in this module.
Published: Feb 21, 2020
License: MIT
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
¶
Mutex is a struct that keeps track of a set of mutexes with
a given ID. It can be used for making sure only one goroutine
gets given the mutex per ID.
NewMutex creates a new Mutex.
Lock locks the mutex by the given ID. If the mutex is already
locked by this ID, Lock blocks until the mutex is available.
Unlock unlocks the mutex by the given ID. It is a run-time
error if the mutex is not locked by the ID on entry to Unlock.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.