diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2012-12-13 23:44:37 +0100 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2012-12-13 23:44:37 +0100 |
commit | 7ffec45913adc02a5c5f6a2cfe95a41d42ae535c (patch) | |
tree | 4964ef2ba7299b201f2285b987a8ed1870fadecb | |
parent | edb8384a00f108b385d0df7ddfa5bd671a36f946 (diff) | |
download | fetchmail-7ffec45913adc02a5c5f6a2cfe95a41d42ae535c.tar.gz fetchmail-7ffec45913adc02a5c5f6a2cfe95a41d42ae535c.tar.bz2 fetchmail-7ffec45913adc02a5c5f6a2cfe95a41d42ae535c.zip |
Plug a memory leak in OpenSSL's certificate verification callback.
This would affect fetchmail configurations running with SSL in daemon mode
more than one-shot runs.
Reported by Erik Thiele, and pinned by Dominik, Debian Bug #688015.
This bug was introduced into fetchmail 6.2.9 (committed 2005-10-29)
when support for subjectAltName was added through a patch by Roland
Stigge, submitted as Debian Bug#201113.
-rw-r--r-- | NEWS | 10 | ||||
-rw-r--r-- | socket.c | 2 |
2 files changed, 10 insertions, 2 deletions
@@ -63,7 +63,15 @@ Should a 7.0 release be made earlier, chances are that the 6.3.X branch is abandoned and its changes be folded into the 7.0 release, with changes after 6.3.24 not available on their own in a newer 6.3.X release. -# REGRESSION FIX +# CRITICAL AND REGRESSION FIXES +* Plug a memory leak in OpenSSL's certificate verification callback. + This would affect fetchmail configurations running with SSL in daemon mode + more than one-shot runs. + Reported by Erik Thiele, and pinned by Dominik, Debian Bug #688015. + This bug was introduced into fetchmail 6.2.9 (committed 2005-10-29) + when support for subjectAltName was added through a patch by Roland + Stigge, submitted as Debian Bug#201113. + * The --logfile option now works again outside daemon mode, reported by Heinz Diehl. The documentation that I had been reading was inconsistent with the code, and only parts of the manual page claimed that --logfile was only @@ -689,7 +689,7 @@ static int SSL_verify_callback( int ok_return, X509_STORE_CTX *ctx, int strict ) } } } - sk_GENERAL_NAME_free(gens); + GENERAL_NAMES_free(gens); } if (name_match(p1, p2)) { matched = 1; |