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

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]