[gnutls-devel] GnuTLS | restrict allowlisting api to before priority string initialization (!1533)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Thu Aug 11 10:11:11 CEST 2022



Merge request https://gitlab.com/gnutls/gnutls/-/merge_requests/1533 was reviewed by Alexander Sosedkin

--
  <!-- Get preloaded note discussion-->
  
Alexander Sosedkin commented on a discussion on lib/config_int.h: https://gitlab.com/gnutls/gnutls/-/merge_requests/1533#note_1058175665

> +		     gnutls_digest_algorithm_t* src, size_t len)
> +{
> +	if (unlikely(len >= MAX_ALGOS)) {

Right. Changed to `len > MAX_ALGOS` here and also amended `i > MAX_ALGOS` to `i >= MAX_ALGOS` in `APPEND_TO_NULL_TERMINATED_ARRAY`.

--
  <!-- Get preloaded note discussion-->
  
Alexander Sosedkin commented on a discussion on lib/priority.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1533#note_1058175711

> + */
> +
> +static inline int /* not locking system_wide_config */

As you wish.


-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1533
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/20220811/b73cf61c/attachment-0001.html>


More information about the Gnutls-devel mailing list