]> git.eshelyaron.com Git - emacs.git/commit
Fix crashes in networking with GnuTLS on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Mon, 26 Aug 2019 16:06:13 +0000 (19:06 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 26 Aug 2019 16:06:13 +0000 (19:06 +0300)
commit1071a4fac6f2e70572a1259e073124cbb723e90d
treef5957792fca483ae0826afae2eeacad792b3ec96
parentf87ace2aed492d5d605da59b59af6fad5f0e33e4
Fix crashes in networking with GnuTLS on MS-Windows

* src/gnutls.c (init_gnutls_functions) [WINDOWSNT]: Define and
load gnutls_free.
(Fgnutls_format_certificate): Use gnutls_free instead of
xfree.  This prevents crashes on MS-Windows, since the memory
being released was allocated inside GnuTLS.  (Bug#31946)
src/gnutls.c