summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2009-08-15 11:31:57 +0000
committerTorsten Veller <tove@gentoo.org>2009-08-15 11:31:57 +0000
commit404bd9837402997d3e6235d68e530ad64c655af2 (patch)
treed0182af8a48deb0db1aecf57fbf38e8f60a46fba /net-mail/fetchmail/files
parentVersion bump. Fixes APOP design error (CVE-2007-1558)(#281559) (diff)
downloadgentoo-2-404bd9837402997d3e6235d68e530ad64c655af2.tar.gz
gentoo-2-404bd9837402997d3e6235d68e530ad64c655af2.tar.bz2
gentoo-2-404bd9837402997d3e6235d68e530ad64c655af2.zip
Bump to fix segmentation fault (#280760)
(Portage version: 2.2_rc38/cvs/Linux x86_64)
Diffstat (limited to 'net-mail/fetchmail/files')
-rw-r--r--net-mail/fetchmail/files/6.3.11-fix-free-corruption.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-mail/fetchmail/files/6.3.11-fix-free-corruption.patch b/net-mail/fetchmail/files/6.3.11-fix-free-corruption.patch
new file mode 100644
index 000000000000..d84d50cc8c94
--- /dev/null
+++ b/net-mail/fetchmail/files/6.3.11-fix-free-corruption.patch
@@ -0,0 +1,15 @@
+--- socket.c
++++ socket.c
+@@ -628,9 +628,10 @@
+ report(stdout, GT_("Unknown Issuer CommonName\n"));
+ }
+ if ((i = X509_NAME_get_text_by_NID(subj, NID_commonName, buf, sizeof(buf))) != -1) {
+- if (outlevel >= O_VERBOSE)
++ if (outlevel >= O_VERBOSE) {
+ report(stdout, GT_("Server CommonName: %s\n"), (tt = sdump(buf, i)));
+- xfree(tt);
++ xfree(tt);
++ }
+ if ((size_t)i >= sizeof(buf) - 1) {
+ /* Possible truncation. In this case, this is a DNS name, so this
+ * is really bad. We do not tolerate this even in the non-strict case. */