Commit Graph

1 Commits

Author SHA1 Message Date
Erik de Castro Lopo
15a011c43d 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.
2013-03-19 20:15:49 +11:00