james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From server-...@james.apache.org
Subject [jira] Created: (JAMES-308) Append command; message length is wrongly extract from arguments
Date Mon, 19 Jul 2004 07:09:39 GMT
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAMES-308

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-308
    Summary: Append command; message length is wrongly extract from arguments 
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: James
 Components: 
             IMAPServer
   Versions:
             2.2.0

   Assignee: 
   Reporter: Francois Carretti

    Created: Mon, 19 Jul 2004 12:08 AM
    Updated: Mon, 19 Jul 2004 12:08 AM
Environment: Windows XP

Description:
Last char of message length argument is lost.
 
If the argument message length comes like this {12345}
we got messagelen=1234   

original code: 
//long messagelen = Long.parseLong(ms.substring(1,ms.length()-2));

Correction:
long messagelen = Long.parseLong(ms.substring(1,ms.length()-1));



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message