[gnutls-devel] GnuTLS | build: avoid potential integer overflow in array allocation (!1392)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Mar 30 13:26:45 CEST 2021



Merge request https://gitlab.com/gnutls/gnutls/-/merge_requests/1392 was reviewed by Stanislav Židek

--
  
Stanislav Židek started a new discussion on lib/mem.h: https://gitlab.com/gnutls/gnutls/-/merge_requests/1392#note_540965778

> +void *_gnutls_reallocarray_fast(void *ptr, size_t nmemb, size_t size);
>  
>  void *_gnutls_calloc(size_t nmemb, size_t size);

Should we remove this function? Everything should use `_gnutls_reallocarray...`. Does initial `_` indicate this is not part of API?


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


More information about the Gnutls-devel mailing list