On Thu, 28 Nov 2013 11:55:17 +0100 Volker Lendecke <Volker.Lendecke at SerNet.DE> wrote: > size_t rep_strlcat(char *d, const char *s, size_t bufsize) > { > - size_t len1 = strlen(d); > + size_t len1 = strnlen(d, bufsiz); Gah, I missed the typo here, that should be bufsize, not bufsiz. Patch to follow... Cheers, David