PREfast Warning 63 (Windows CE 5.0)
63 - Format string mismatch.
Additional Information: Missing string argument to <function> corresponding to conversion specifier <number>.
This warning indicates that not enough arguments are being provided to match a format string; at least one of the missing arguments is a string.
This defect can lead to crashes and buffer overflows (if the called function is of the sprintf family), as well as potentially incorrect output.
This warning is often reported because of subtle errors contained in format strings such as extra embedded spaces or unescaped percent signs. If the warning appears to be incorrect, verify your format string.
PREfast interprets format strings based on the implementations in the C run-time library that is included with Visual C++ .NET 2002.
Example
Defective Source
char buff[5];
sprintf(buff, "%s %s", "a");
Corrected Source
char buff[5];
sprintf(buff, "%s %s", "a", "b");
Send Feedback on this topic to the authors