[gnutls-devel] Guile-GnuTLS | Segfault in `scm_gnutls_session_record_port` (#23)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Aug 29 13:57:02 CEST 2023




Christopher Baines commented: https://gitlab.com/gnutls/guile/-/issues/23#note_1533623906


> I see that gnutls-guile is defining its own port type, and the port of such type points to the session. So, the session should not be able to get garbage collected before the port is.

I think there's still a region in `scm_gnutls_session_record_port` where the port hasn't been created yet so the session is available to be GC'ed.

> However, the code for the port implementation depends on the guile version. Which version were you using?

The latest release (3.0.9).

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/guile/-/issues/23#note_1533623906
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/20230829/6d1e9d21/attachment.html>


More information about the Gnutls-devel mailing list