strlcpy and strlcat - consistent, safe, string copy and concatenation. Todd C. Miller University of Colorado, Boulder Theo de Raadt OpenBSD project As the prevalence of buffer overflow attacks has increased, more and more programmers are using size or length-bounded string functions such as strncpy() and strncat(). While this is certainly an encouraging trend, the standard C string functions gener