[gnutls-devel] GnuTLS | getline() functions calls' result handling (#1573)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Mon Aug 19 09:07:42 CEST 2024




Daiki Ueno commented: https://gitlab.com/gnutls/gnutls/-/issues/1573#note_2059377321


Thank you for the report; yes, that makes sense. The Linux man-pages state that more clearly:

> If *lineptr is set to NULL before the call, then getline() will
> allocate a buffer for storing the line.  This buffer should be
> freed by the user program even if getline() failed.

Would you like to create a merge-request to fix it?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1573#note_2059377321
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/20240819/fed6f165/attachment.html>


More information about the Gnutls-devel mailing list