Go

Go

Made by DeepSource

Atomic access to 64-bit variable must be 64-bit aligned SCC-SA1027

Bug risk
Major

On ARM, x86-32, and 32-bit MIPS, the caller's responsibility is to arrange for 64-bit alignment of 64-bit words accessed atomically. The first word in a variable or an allocated struct, array, or slice can be relied upon to be 64-bit aligned.