Affected by GO-2022-0392
and 8 other vulnerabilities
GO-2022-0392 : Denial of service in go-ethereum due to CVE-2020-28362 in github.com/ethereum/go-ethereum
GO-2022-0456 : DoS via malicious p2p message in Go Ethereum in github.com/ethereum/go-ethereum
GO-2022-0775 : Erroneous Proof of Work calculation in geth in github.com/ethereum/go-ethereum
GO-2022-0814 : Go Ethereum Denial of Service in github.com/ethereum/go-ethereum
GO-2022-0871 : Go Ethereum Improper Input Validation in github.com/ethereum/go-ethereum
GO-2023-2046 : Unbounded memory consumption in github.com/ethereum/go-ethereum
GO-2024-2819 : Denial of Service in github.com/ethereum/go-ethereum
GO-2026-4314 : High CPU usage leading to DoS via malicious p2p message in github.com/ethereum/go-ethereum
GO-2026-4315 : DoS via malicious p2p message affecting a vulnerable node in github.com/ethereum/go-ethereum
Discover Packages
github.com/ethereum/go-ethereum
testutil
package
Version:
v0.4.1
Opens a new window with list of versions in this module.
Published: Jun 13, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
RaceEnabled is true when -race flag is provided to the go tool. This const
might be used in tests to skip some cases as the race detector may increase
memory usage 5-10x and execution time by 2-20x. That might causes problems
on Travis. Please, use this flag sparingly and keep your unit tests
as light on resources as possible.
CheckTag checks the first tag in the api struct to be in a certain state
func RandomBytes(seed, length int ) []byte
RandomBytes returns pseudo-random deterministic result
because test fails must be reproducible
TempFileWithContent is a helper function that creates a temp file that contains the following string content then closes the file handle
it returns the complete file path
Source Files
¶
Click to show internal directories.
Click to hide internal directories.