[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
Wed Oct 30 18:17:11 CET 2019




Tim Rühsen started a new discussion on lib/parser_aux.c: https://gitlab.com/gnutls/libtasn1/merge_requests/51#note_238012846

>    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)

spaces around =

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/libtasn1/merge_requests/51#note_238012846
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/20191030/9af91a98/attachment-0001.html>


More information about the Gnutls-devel mailing list