Affected by GO-2024-3059
and 2 other vulnerabilities
GO-2024-3059: CosmWasm wasmd has large address count in ValidateBasic in github.com/CosmWasm/wasmd
GO-2024-3082: CWA-2024-005: Stackoverflow in wasmd in github.com/CosmWasm/wasmd
GO-2024-3319: Simulation of Wasmd message can cause crashing in github.com/CosmWasm/wasmd
package
Version:
v0.42.0-rc.1
Opens a new window with list of versions in this module.
Published: Sep 15, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GzipIt compresses the input ([]byte)
IsGzip returns checks if the file contents are gzip compressed
IsWasm checks if the file contents are of wasm binary
LimitReader returns a Reader that reads from r
but stops with "limit error" after n bytes.
The underlying implementation is a *io.LimitedReader.
Uncompress expects a valid gzip source to unpack or fails. See IsGzip
type LimitedReader struct {
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.