Gnus development mailing list
 help / color / mirror / Atom feed
* rfc 822 imap bug
@ 2008-05-22 21:57 James Cloos
  0 siblings, 0 replies; only message in thread
From: James Cloos @ 2008-05-22 21:57 UTC (permalink / raw)
  To: ding

I finally was able to give gnus a test with the patch.

(I had to do it as a different user with a just a couple of IMAP
folders; my own setup creates an *imap-debug* buffer of more than one
and a half gigs during startup; a bit of a burden on a laptop whose
motherboard maxes out at one half of a gig....)

Here is an example of the output to the *Messages* buffer from that
patch:

error in process filter: position 314 in * 1433 FETCH (RFC822.SIZE 11856
UID 1433 BODY (("text" "plain" ("charset" "utf-8") NIL NIL
"quoted-printable" 871 23)("message" "rfc822" NIL NIL NIL "7bit" 2851
("Wed, 19 Mar 2008 05:03:34 +0100" "git-buildpackage: Import multiple
dsc/orig.tar.gz in one go" (("Michael Biebl" NIL "biebl"
"debian.org"))(("Michael Biebl" NIL "biebl" "debian.org"))(("Michael
Biebl" NIL "biebl" "debian.org"))(("Debian Bug Tracking System" NIL
"submit" "bugs.debian.org")) NIL NIL NIL
"<20080319040334.8264.90035.reportbug@pluto.milchstrasse.xx>")("text"
"plain" ("charset" "us-ascii") NIL NIL "7bit" 1139 42) 77)("message"
"rfc822" NIL NIL NIL "7bit" 4262 ("Sat, 17 May 2008 21:02:02 +0000"
"Bug#471580: fixed in git-buildpackage 0.4.29" (("Guido Guenther" NIL
"agx" "sigxcpu.org"))(("Archive Administrator" NIL "dak"
"ftp-master.debian.org"))(("Guido Guenther" NIL "agx"
"sigxcpu.org"))((NIL NIL "471580-close" "bugs.debian.org")) NIL NIL NIL
"<E1JxTXW-0006w9-SX@ries.debian.org>")("text" "plain" ("charset"
"utf-8") NIL NIL "8bit" 2943 78) 108) "mixed") BODY[HEADER.FIELDS
(Subject From Date Message-Id References In-Reply-To Xref To
Newsgroups)] {424}
to: Guido Guenther <agx@sigxcpu.org>
subject: Bug#471580: marked as done (git-buildpackage: Import multiple  dsc/orig.tar.gz in one go)
references: <E1JxTXW-0006w9-SX@ries.debian.org> <20080319040334.8264.90035.reportbug@pluto.milchstrasse.xx>
message-id: <handler.471580.D471580.121105812612439.ackdone@bugs.debian.org>
from: Debian Bug Tracking System <owner@bugs.debian.org>
date: Sat, 17 May 2008 21:03:04 +0000

)

I removed each \r and wrapped it for email.

Position 314 in the string before wrapping is the start of Biebl in the
second of the three instances of the string "Michael Biebl".

So the parsing dies inside a double-quoted string, after a space.

All of the errors occur in similar points.

The relevant lines from *imap-debug* for that message are:

1 -> imap-arrival-filter: proc=#<process imap> string="* 1433 FETCH
(RFC822.SIZE 11856 UID 1433 BODY ((\"text\" \"plain\" (\"charset\"
\"utf-8\") NIL NIL \"quoted-printable\" 871 23)(\"message\" \"rfc822\"
NIL NIL NIL \"7bit\" 2851 (\"Wed, 19 Mar 2008 05:03:34 +0100\"
\"git-buildpackage: Import multiple dsc/orig.tar.gz in one go\"
((\"Michael Biebl\" NIL \"biebl\" \"debian.org\"))((\"Michael Biebl\"
NIL \"biebl\" \"debian.org\"))((\"Michael Biebl\" NIL \"biebl\"
\"debian.org\"))((\"Debian Bug Tracking System\" NIL \"submit\"
\"bugs.debian.org\")) NIL NIL NIL
\"<20080319040334.8264.90035.reportbug@pluto.milchstrasse.xx>\")(\"text\"
\"plain\" (\"charset\" \"us-ascii\") NIL NIL \"7bit\" 1139 42)
77)(\"message\" \"rfc822\" NIL NIL NIL \"7bit\" 4262 (\"Sat, 17 May 2008
21:02:02 +0000\" \"Bug#471580: fixed in git-buildpackage 0.4.29\"
((\"Guido Guenther\" NIL \"agx\" \"sigxcpu.org\"))((\"Archive
Administrator\" NIL \"dak\" \"ftp-master.debian.org\"))((\"Guido
Guenther\" NIL \"agx\" \"sigxcpu.org\"))((NIL NIL \"471580-close\"
\"bugs.debian.org\")) NIL NIL NIL
\"<E1JxTXW-0006w9-SX@ries.debian.org>\")(\"text\" \"plain\" (\"charset\"
\"utf-8\") NIL NIL \"8bit\" 2943 78) 108) \"mixed\") BODY[HEADER.FIELDS
(Subject From Date Message-Id References In-Reply-To Xref To
Newsgroups)] {424}
to: Guido Guenther <agx@sigxcpu.org>
subject: Bug#471580: marked as done (git-buildpackage: Import multiple  dsc/orig.tar.gz in one go)
references: <E1JxTXW-0006w9-SX@ries.debian.org> <20080319040334.8264.90035.reportbug@pluto.milchstrasse.xx>
message-id: <handler.471580.D471580.121105812612439.ackdone@bugs.debian.org>
from: Debian Bug Tracking System <owner@bugs.debian.org>
date: Sat, 17 May 2008 21:03:04 +0000

)
| 2 -> imap-parse-response: 
| | 3 -> imap-parse-fetch: response=1433
| | | 4 -> imap-parse-body: 
| | | | 5 -> imap-parse-body: 
| | | | 5 <- imap-parse-body: ("text" "plain" ("charset" "utf-8") nil nil "quoted-printable" 871 23)
| | | | 5 -> imap-parse-body: 
| | | | | 6 -> imap-parse-envelope: 
| | | | | 6 <- imap-parse-envelope: ["Wed, 19 Mar 2008 05:03:34 +0100"
          "git-buildpackage: Import multiple dsc/orig.tar.gz in one go"
          (["Michael Biebl" nil "biebl" "debian.org"]) nil nil nil nil
          nil nil nil]
| | | | | 6 -> imap-parse-body: 
| | | | | 6 <- imap-parse-body: nil
======================================================================

-JimC
-- 
James Cloos <cloos@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-22 21:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-22 21:57 rfc 822 imap bug James Cloos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).