20
edits
Line 38: | Line 38: | ||
For example, use snprintf() instead of sprintf() and strncpy() instead of strcpy(). | For example, use snprintf() instead of sprintf() and strncpy() instead of strcpy(). | ||
And please do not forget that snprintf and strncpy does not necessarily add a trailing 0 byte. |
edits