[gnutls-devel] libtasn1 | Fix handling of code which uses NULL pointers + offset (fixes issue #30) (!71)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Wed Feb 3 16:14:39 CET 2021




Roman Bolshakov commented on a discussion on lib/coding.c: https://gitlab.com/gnutls/libtasn1/-/merge_requests/71#note_500630454

>  		  goto error;
>  		}
>  	      len2 = max_len;
> -	      err = _asn1_object_id_der ((char*)p->value, der + counter, &len2);
> +	      err = _asn1_object_id_der ((char*)p->value, der ? der + counter : &dummy, &len2);

Ok, then it's up to the maintainer to decide :)

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/libtasn1/-/merge_requests/71#note_500630454
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/20210203/3c854429/attachment-0001.html>


More information about the Gnutls-devel mailing list