Disable semgrep check for unsafe
This commit is contained in:
		@@ -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),
 | 
			
		||||
	})))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user