vendor github.com/json-iterator/go@v1.1.12

Fix a runtime segfault when being compiled with recent versions of Go.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2079759
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
Valentin Rothberg
2022-05-02 15:55:21 +02:00
parent 9921983923
commit b4845b14d9
21 changed files with 93 additions and 181 deletions

View File

@@ -6,6 +6,9 @@ import (
"unsafe"
)
//go:linkname resolveTypeOff reflect.resolveTypeOff
func resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer
//go:linkname makemap reflect.makemap
func makemap(rtype unsafe.Pointer, cap int) (m unsafe.Pointer)