Affected by GO-2022-0392
and 6 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
package
Version:
v0.9.20
Opens a new window with list of versions in this module.
Published: May 12, 2015
License: LGPL-2.1-or-later
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.
README
¶
go-isatty
isatty for golang
Usage
package main
import (
"fmt"
"github.com/mattn/go-isatty"
"os"
)
func main() {
if isatty.IsTerminal(os.Stdout.Fd()) {
fmt.Println("Is Terminal")
} else {
fmt.Println("Is Not Terminal")
}
}
Installation
$ go get github.com/mattn/go-isatty
License
MIT
Author
Yasuhiro Matsumoto (a.k.a mattn)
Documentation
¶
Package isatty implements interface to isatty
IsTerminal return true if the file descriptor is terminal.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.