Created "safe_" variations of 'strncpy()', 'strncat()', and 'snprintf()', to ensure a truncated source string doesn't leave the destination buffer without a NUL termination character. Replaced all calls (in "tuxpaint.c" only, so far) to the standard functions with calls to the new safer versions. Replaced most calls to plain 'strcpy()', 'strcat()' and 'sprintf()' (which can cause buffer overruns) with the new functions. |
||
|---|---|---|
| .. | ||
| COPYING | ||
| de | ||
| en | ||
| es | ||
| fr | ||
| gl | ||
| html/images | ||
| it | ||
| ja | ||
| ko | ||
| nl | ||
| nn | ||
| pl | ||
| pt_br | ||
| ru | ||
| uk | ||
| zh_cn | ||
| zh_tw | ||
| AUTHORS.txt | ||
| CHANGES.txt | ||
| COPYING.txt | ||
| default_colors.txt | ||
| dejavu.txt | ||
| Makefile | ||
| README.txt | ||
| RELEASE.txt | ||
See [locale]/html/README.html or [locale]/README.txt.