Commit d69621cc authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

src/gnutls.c: Fix previous change.

(init_gnutls_functions): Protect against (unlikely) manipulation
of :loaded-from data.
parent a59d531e
2012-04-24 Juanma Barranquero <>
* gnutls.c (init_gnutls_functions): Protect against (unlikely)
manipulation of :loaded-from data.
2012-04-23 Juanma Barranquero <>
* gnutls.c (init_gnutls_functions): The value of :loaded-from is
......@@ -200,8 +200,12 @@ init_gnutls_functions (Lisp_Object libraries)
max_log_level = global_gnutls_log_level;
GNUTLS_LOG2 (1, max_log_level, "GnuTLS library loaded:",
SDATA (XCAR (Fget (Qgnutls_dll, QCloaded_from))));
Lisp_Object name = CAR_SAFE (Fget (Qgnutls_dll, QCloaded_from));
GNUTLS_LOG2 (1, max_log_level, "GnuTLS library loaded:",
STRINGP (name) ? (const char *) SDATA (name) : "unknown");
return 1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment