[gnutls-devel] GnuTLS | p11tool: fix admin user PIN initialization (!776)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Wed Oct 24 10:41:51 CEST 2018


Hubert Kario started a new discussion on src/common.c:

> +	}
> +
> +	len = strlen(tmp);
> +	if (len >= max_pass_size) {
> +		gnutls_memset(tmp, 0, len);
> +		pass[0] = 0;
> +		return;
> +	}
> +
> +	strcpy(pass, tmp);
> +	gnutls_memset(tmp, 0, len);
> +
> +	return;
> +}
> +
> +/* error is an empty string */

same here

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/776#note_111351000
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20181024/7cce51de/attachment-0001.html>


More information about the Gnutls-devel mailing list