From ccc16c7d792e4c8f8cc5ccf7e08d37b750f46330 Mon Sep 17 00:00:00 2001 From: maze Date: Fri, 5 Sep 2025 11:57:58 +0200 Subject: [PATCH] Disable semgrep check for unsafe --- keyring_windows.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keyring_windows.go b/keyring_windows.go index 66f3c8e..f0aec15 100644 --- a/keyring_windows.go +++ b/keyring_windows.go @@ -84,12 +84,12 @@ func goBytes(src uintptr, len uint32) []byte { return []byte{} } rv := make([]byte, len) - copy(rv, *(*[]byte)(unsafe.Pointer(&struct { + copy(rv, *(*[]byte)(unsafe.Pointer(&struct { // nosemgrep Data unsafe.Pointer Len int Cap int }{ - Data: unsafe.Pointer(src), + Data: unsafe.Pointer(src), // nosemgrep Len: int(len), Cap: int(len), })))