summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2021-08-23 22:42:15 -0600
committerEduardo Chappa <chappa@washington.edu>2021-08-23 22:42:15 -0600
commitd2ae2bad36529e3381a642d85947d1fd00fc3ffc (patch)
tree5a13637688991250d9d19ee6c3c1d1715527dc71
parentcfdebdd33ae23f41a3eb786c33d993452664333d (diff)
downloadalpine-d2ae2bad36529e3381a642d85947d1fd00fc3ffc.tar.xz
* Crash due to incorrect freeing of memory, introduced in commit
8961761e0b3c7b3cc11a00f6ac6ebf7a29bc5a10
-rw-r--r--imap/src/osdep/unix/ssl_unix.c1
-rw-r--r--pith/pine.hlp2
2 files changed, 2 insertions, 1 deletions
diff --git a/imap/src/osdep/unix/ssl_unix.c b/imap/src/osdep/unix/ssl_unix.c
index 9d0124ff..eb26ec07 100644
--- a/imap/src/osdep/unix/ssl_unix.c
+++ b/imap/src/osdep/unix/ssl_unix.c
@@ -564,6 +564,7 @@ static char *ssl_validate_cert (X509 *cert,char *host)
/* host name matches pattern? */
ret = ssl_compare_hostnames (host,s) ? NIL :
"Server name does not match certificate";
+ ext = NIL;
/* if mismatch, see if in extensions */
if (ret && (ext = X509_get_ext_d2i (cert,NID_subject_alt_name,NIL,NIL)) &&
(n = sk_GENERAL_NAME_num (ext)))
diff --git a/pith/pine.hlp b/pith/pine.hlp
index b9627a04..4d79260b 100644
--- a/pith/pine.hlp
+++ b/pith/pine.hlp
@@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any
reasonable place to be called from.
Dummy change to get revision in pine.hlp
============= h_revision =================
-Alpine Commit 580 2021-08-23 21:44:27
+Alpine Commit 581 2021-08-23 22:42:05
============= h_news =================
<HTML>
<HEAD>