[mutt] 01/02: 835421-pop-digest-md5.patch to incorrectly handle pop DIGEST-MD5 auth (Closes: 835421).

Antonio Radici antonio at moszumanska.debian.org
Sun Aug 28 18:51:40 UTC 2016


This is an automated email from the git hooks/post-receive script.

antonio pushed a commit to branch master
in repository mutt.

commit 722335aa9be7ea16f6dd14f3653125e7b665530b
Author: Antonio Radici <antonio at debian.org>
Date:   Sun Aug 28 19:46:12 2016 +0100

    835421-pop-digest-md5.patch to incorrectly handle pop DIGEST-MD5 auth (Closes: 835421).
---
 debian/changelog                                    |  6 ++++--
 debian/patches/series                               |  1 +
 debian/patches/upstream/835421-pop-digest-md5.patch | 19 +++++++++++++++++++
 3 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5947465..117a62f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,9 +5,11 @@ mutt (1.7.0-1) UNRELEASED; urgency=medium
     - neomutt-devel/restore-docfile-installation.patch removed (already
       upstream).
   * debian/patches:
-    + some patches refreshed
+    + some patches refreshed.
     + restored 611410-no-implicit_autoview-for-text-html.patch which was
-      incorrectly dropped (Closes: 823971)
+      incorrectly dropped (Closes: 823971).
+    + 835421-pop-digest-md5.patch to incorrectly handle pop DIGEST-MD5 auth
+      (Closes: 835421).
 
  -- Antonio Radici <antonio at debian.org>  Sun, 28 Aug 2016 15:10:08 +0100
 
diff --git a/debian/patches/series b/debian/patches/series
index 5dc330e..7533671 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -15,3 +15,4 @@ upstream/228671-pipe-mime.patch
 upstream/383769-score-match.patch
 upstream/771125-CVE-2014-9116-jessie.patch
 upstream/611410-no-implicit_autoview-for-text-html.patch
+upstream/835421-pop-digest-md5.patch
diff --git a/debian/patches/upstream/835421-pop-digest-md5.patch b/debian/patches/upstream/835421-pop-digest-md5.patch
new file mode 100644
index 0000000..70588b4
--- /dev/null
+++ b/debian/patches/upstream/835421-pop-digest-md5.patch
@@ -0,0 +1,19 @@
+This patch was written by g1 <g1pi at libero.it>, there is an issue with mutt
+incorrectly handling the pop3 AUTH DIGEST-MD5 (RFC 5034).
+
+The patch was forwarded upstream on:
+http://bugs.mutt.org/3862
+
+The original Debian bug for this problem is http://bugs.debian.org/835421
+
+--- a/pop_auth.c
++++ b/pop_auth.c
+@@ -121,7 +121,7 @@
+       client_start = 0;
+     }
+ 
+-    if (rc != SASL_CONTINUE && (olen == 0 || rc != SASL_OK))
++    if (rc == SASL_FAIL || !mutt_strncmp(inbuf, "+OK", 3) || !mutt_strncmp(inbuf, "-ERR", 4))
+       break;
+ 
+     /* send out response, or line break if none needed */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mutt/mutt.git



More information about the pkg-mutt-commits mailing list