From b56dae8120d43b9acd3d3ed4d40100ffab7b972a Mon Sep 17 00:00:00 2001 From: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> Date: Mon, 2 May 2022 14:05:18 +0100 Subject: [chore] Update all but bun libraries (#526) * update all but bun libraries Signed-off-by: kim * remove my personal build script changes Signed-off-by: kim --- vendor/github.com/ugorji/go/codec/helper_unsafe.go | 1 + 1 file changed, 1 insertion(+) (limited to 'vendor/github.com/ugorji/go/codec/helper_unsafe.go') diff --git a/vendor/github.com/ugorji/go/codec/helper_unsafe.go b/vendor/github.com/ugorji/go/codec/helper_unsafe.go index 352cf4b3c..34cda6e27 100644 --- a/vendor/github.com/ugorji/go/codec/helper_unsafe.go +++ b/vendor/github.com/ugorji/go/codec/helper_unsafe.go @@ -376,6 +376,7 @@ func i2rtid(i interface{}) uintptr { // -------------------------- func unsafeCmpZero(ptr unsafe.Pointer, size int) bool { + // verified that size is always within right range, so no chance of OOM var s1 = unsafeString{ptr, size} var s2 = unsafeString{unsafeZeroAddr, size} if size > len(unsafeZeroArr) { -- cgit v1.2.3