From 8858b2ce88bec90932c06de60b76584352f73bd6 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 1 Feb 2016 01:10:57 +0100 Subject: [PATCH] Fix GC problem in async TLS connection * process.h: All Lisp_Object slots have to come first, otherwise they won't be protected from gc. --- src/process.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/process.h b/src/process.h index 95c64fa73b7..828330ba9df 100644 --- a/src/process.h +++ b/src/process.h @@ -106,6 +106,7 @@ struct Lisp_Process #ifdef HAVE_GNUTLS Lisp_Object gnutls_cred_type; + Lisp_Object gnutls_async_parameters; #endif /* Pipe process attached to the standard error of this process. */ @@ -191,7 +192,6 @@ struct Lisp_Process unsigned int gnutls_extra_peer_verification; int gnutls_log_level; int gnutls_handshakes_tried; - Lisp_Object gnutls_async_parameters; bool_bf gnutls_p : 1; #endif }; -- 2.39.5