[gnutls-devel] GnuTLS | fix invalid unsigned arithmetic. (!1364)
    Read-only notification of GnuTLS library development activities 
    gnutls-devel at lists.gnutls.org
       
    Tue Dec  1 15:13:21 CET 2020
    
    
  
ihsinme commented on a discussion on lib/x509/x509_dn.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1364#note_458096513
>  
>  	/* remove spaces from the end */
>  	while(val->size > 0 && c_isspace(val->data[val->size-1])) {
> -		if (val->size-2 > 0 && val->data[val->size-2] == '\\')
> +		if (val->size > 2 && val->data[val->size-2] == '\\')
sorry. this is my first experience at gitlab
-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1364#note_458096513
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/20201201/314589ac/attachment.html>
    
    
More information about the Gnutls-devel
mailing list