Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
327 - Potential buffer overrrun. SysAllocStringLen allocates a string and then blindly copies <constant> characters from the string <string>. The code may crash, depending on the data segment layout.
This message indicates a potential buffer overrun. SysAllocStringLen allocates a string and then blindly copies the specified number of characters from the specified string. The code might crash, depending on the data segment layout.
Example
Defective Source
SysAllocStringLen(L"MyString", 9);
Corrected Source
SysAllocStringLen(L"MyString", 8);
Send Feedback on this topic to the authors