[gnutls-devel] libtasn1 | _asn1_expand_object_id: Limit recursion (!8)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri Jul 12 07:09:54 CEST 2019




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

>  			  p4 = p4->right;
>  			}
>  		      move = DOWN;
> -		      continue;
> +		      tries++;

I think increasing the recursion to something like 16 would solve the issue as well, and ensure less regressions to existing code. I'd also use a `define` to set the number.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/libtasn1/merge_requests/8#note_191050594
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/20190712/fb3fc588/attachment.html>


More information about the Gnutls-devel mailing list