[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 12:37:53 CEST 2018


Hubert Kario commented on a 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 */

yes, it would

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/776#note_111422598
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/bbfd879d/attachment-0001.html>


More information about the Gnutls-devel mailing list