Skip to content
Tech News

Microsoft’s Banning Memcpy() Functions in the Name of Security

By

Reading time 1 minute

Comments (0)

Microsoft’s officially banning the Memcpy(), CopyMemory() and RtlCopyMemory() functions, meaning that if apps want to align with Microsoft’s Secure Development Lifecycle, they need to strip these out.

Memcpy() and similar functions take a chunk of memory and copy it to another part of memory. This is fine when used correctly, but when used maliciously, form the basis of buffer overflow attacks that can screw up your computer.

The new solution is memcpy_s(), which requires you to specify how large the destination buffer is. This will hopefully cut down on these types of intrusions. [Register via Slashdot]

Explore more on these topics

Share this story

Sign up for our newsletters

Subscribe and interact with our community, get up to date with our customised Newsletters and much more.