[gnutls-devel] libtasn1 | _asn1_expand_object_id: added safety against use after free (!51)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Thu Oct 31 11:51:37 CET 2019




Nikos Mavrogiannopoulos commented on a discussion on lib/parser_aux.c: https://gitlab.com/gnutls/libtasn1/merge_requests/51#note_238305676

>    return p->left;
>  }
>  
> +static
> +unsigned _asn1_is_up (asn1_node_const up_cand, asn1_node_const down)
> +{
> +  asn1_node_const d,u;
> +
> +  if (up_cand == NULL || down == NULL)
> +    return 0;
> +
> +  d = down;
> +
> +  while ((u=_asn1_find_up(d)) != NULL && u != d)

Thanks done.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/libtasn1/merge_requests/51#note_238305676
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/20191031/ca1402d1/attachment.html>


More information about the Gnutls-devel mailing list