imclient >4k literal error

Lawrence Greenfield leg+ at andrew.cmu.edu
Mon Apr 7 14:38:56 EDT 2003


   Date: Sun, 6 Apr 2003 21:58:30 +0100
   From: Patrick Welche <prlw1 at newn.cam.ac.uk>

   On Wed, Apr 02, 2003 at 01:28:06PM -0500, Rob Siemborski wrote:
   > See Also:
   > 
   > http://bugzilla.andrew.cmu.edu/show_bug.cgi?id=333
   > 
   > In practice, not many applications use libcyrus for reading email, the
   > closest we generally see is for small things like cyradm.  So there hasn't
   > been pressure to fix it.

   The following fixes this bug. The bug report also mentions
   "we need to fix it so that literals that don't end lines are still handled
   correctly." however RFC 2060 states that:

      The protocol receiver of an IMAP4rev1 client or server is either
      reading a line, or is reading a sequence of octets with a known
      count followed by a line.

   so it seems that literals must be followed by a line according to the
   protocol specification.

I think the bug is referring to the fact that literals can occur in
the middle of a FETCH response (where a single fetch response can be
thought of as one "line") and, at least at the time, I thought that
imclient wouldn't deal with that correctly.

I'd have to spend some time looking at it to refresh my memory.

Larry





More information about the Info-cyrus mailing list