cleanup patches

David Disseldorp ddiss at suse.de
Thu Nov 28 07:55:39 MST 2013


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


More information about the samba-technical mailing list