Add new file include/share/safe_str.h.
authorErik de Castro Lopo <erikd@mega-nerd.com>
Tue, 19 Mar 2013 09:14:26 +0000 (20:14 +1100)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Tue, 19 Mar 2013 09:15:49 +0000 (20:15 +1100)
commit15a011c43daa06d452f91cbf386d9daf93d568df
tree3f4adaf8ee80abdde592c10e4491229243a9c29a
parent619b43df36b725e11e12db768d558b1930a583b6
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.
include/share/Makefile.am
include/share/safe_str.h [new file with mode: 0644]