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

@@ -107,14 +107,6 @@ func (type2 *UnsafeMapType) Iterate(obj interface{}) MapIterator {
return type2.UnsafeIterate(objEFace.data)
}
func (type2 *UnsafeMapType) UnsafeIterate(obj unsafe.Pointer) MapIterator {
return &UnsafeMapIterator{
hiter: mapiterinit(type2.rtype, *(*unsafe.Pointer)(obj)),
pKeyRType: type2.pKeyRType,
pElemRType: type2.pElemRType,
}
}
type UnsafeMapIterator struct {
*hiter
pKeyRType unsafe.Pointer