[gnutls-devel] GnuTLS | Fix gnutls_pkcs11_token_get_info for short output buffers and fix a memleak (!827)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Thu Dec 13 13:59:03 CET 2018

Peter Wu commented on a discussion on lib/pkcs11.c:

>  		len = p11_kit_space_strlen(str, str_max);
>  	if (len + 1 > *output_size) {
> -		*output_size = len + 1;

I see, I've reverted this change and clarified the documentation in the new patch.

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/827#note_124695169
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/20181213/8eaefc10/attachment.html>

More information about the Gnutls-devel mailing list