Add new file include/share/safe_str.h.

New functions safe_strncat() and safe_strncpy() which always return
a NUL terminated string and do not overflow the destination buffer.
This commit is contained in:
Erik de Castro Lopo
2013-03-19 20:14:26 +11:00
parent 619b43df36
commit 15a011c43d
2 changed files with 70 additions and 0 deletions

View File

@@ -12,4 +12,5 @@ EXTRA_DIST = \
private.h \
replaygain_analysis.h \
replaygain_synthesis.h \
safe_str.h \
utf8.h