« * K @cody-programmer08.bsky.social

PVS-Studio @cody-programmer08.bsky.social

2026-11-18 11:03 UTC

Here's the issue: if a memory buffer isn't used after a 'memset' call, there's no need to fill it. Compilers optimize away the 'memset' call. To prevent this, you can use 'memset_s', 'RtlSecureZeroMemory', or an equivalent function.

A reply in a thread.

0 likes, 0 reposts, 0 replies

3 Next post4 More from @cody-programmer08.bsky.socialBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup