Subject: bug#20956: closed (Fixed)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 01 Jan 2017 19:04:01 +0000

Your bug report

#20956: [PATCH] Fix imap message size parsing

which was filed against the gnus package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
20956: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20956
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Fixed
From: Nikolaus Rath <[email-masked]>
To: [email-masked]
Date: Sun, 01 Jan 2017 11:02:59 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Fixed in commit 1f1d39c3bcaed9870ab7f13c3c0369f17a16cee2.

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«

Subject: [PATCH] Fix imap message size parsing
From: Nikolaus Rath <[email-masked]>
To: [email-masked]
Date: Wed, 01 Jul 2015 19:45:05 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

Package: gnus
Tags: patch

IMAP servers may sent the data items in a FETCH response in arbitrary
order. However, currently Gnus assumes that the UID item is sent before
the RFC822.SIZE item. If this assumption is wrong, Gnus is unable to
determine the message size.

The attached patch fixes this issue.

Best,
-Nikolaus

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«
--- nnimap.el.bak1	2015-05-26 19:26:56.646513004 -0700
+++ nnimap.el.bak2	2015-07-01 19:39:26.057089923 -0700
@@ -230,6 +230,7 @@
 				      t)
 		   (match-string 1)))
 	(setq lines nil)
+	(beginning-of-line)
 	(setq size
 	      (and (re-search-forward "RFC822.SIZE \\([0-9]+\\)"
 				      (line-end-position)