[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 12:46:08 CEST 2023
Christopher Baines commented: https://gitlab.com/gnutls/guile/-/issues/23#note_1533524519
The point I'm trying to make is that there's no use of `session` after the start of the `session-record-port` call here [1].
1: https://git.savannah.gnu.org/cgit/guile.git/tree/module/web/client.scm#n290
So just like happened in guile-squee, the Guile GC can garbage collect `session` before the internals of `session-record-port` use it. I don't think `session` is protected for garbage collection for the duration of the `session-record-port` function just because it's an argument.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/guile/-/issues/23#note_1533524519
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/a91f1034/attachment.html>
More information about the Gnutls-devel
mailing list