Affected by GO-2025-3767
and 1 other vulnerabilities
GO-2025-3767: OSV-SCALIBR's Container Image Unpacking Vulnerable to Arbitrary File Write via Path Traversal in github.com/google/osv-scalibr
GO-2025-4149: OSV-SCALIBR has NULL Pointer Dereference in github.com/google/osv-scalibr
package
Version:
v0.1.4
Opens a new window with list of versions in this module.
Published: Nov 6, 2024
License: Apache-2.0
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
¶
Package mockregistry provides a mock implementation of the registry.Registry interface.
MockKey mocks a registry.Key.
ClassName returns the class name of the key.
Name returns the name of the key.
Subkeys returns the subkeys of the key.
Values returns the different values contained in the key.
MockRegistry mocks registry access.
Close does nothing when mocking.
OpenKey open the requested registry key.
type MockValue struct {
VName string
VData []byte
}
MockValue mocks a registry.Value.
Data returns the data contained in the value.
Name returns the name of the value.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.