33beceadd3
Replace unsafe string operations (strcpy, strcat, sprintf, vsprintf) with safe equivalents: 1. The one use of strcpy into an allocated buffer was replaced with strdup. 2. The one use of strcat was replaced with a call to memmove and explicitly setting the NUL terminating byte. 3. sprintf()/vsprintf() calls were replaced with calls to snprintf()/vsnprintf(), respectively. Added a Makefile to build the library as, er, a library and run the test suite. Signed-off-by: Dan Cross <patchdev@fat-dragon.org> |
||
---|---|---|
deps | ||
dist | ||
docs | ||
src | ||
utils | ||
.gitignore | ||
.gitlab-ci.yml | ||
.gitmodules | ||
file_id.diz | ||
GNUmakefile | ||
LICENSE.txt | ||
README.md | ||
setup.sh | ||
STRINGS.CHANGES |
MagickaBBS
A Bulletin Board System for UN*X like platforms.
For documentation, see http://docs.magickabbs.com/