You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Niklas Therning (JIRA)" <se...@james.apache.org> on 2008/09/17 14:05:44 UTC

[jira] Created: (MIME4J-74) ArrayIndexOutOfBoundsException in BufferedLineReaderInputStream when stream contains 0xFF

ArrayIndexOutOfBoundsException in BufferedLineReaderInputStream when stream contains 0xFF
-----------------------------------------------------------------------------------------

                 Key: MIME4J-74
                 URL: https://issues.apache.org/jira/browse/MIME4J-74
             Project: JAMES Mime4j
          Issue Type: Bug
    Affects Versions: 0.4
            Reporter: Niklas Therning
            Assignee: Niklas Therning
             Fix For: 0.5


The line

  int[] shiftTable = new int[255];

should

  int[] shiftTable = new int[256];


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (MIME4J-74) ArrayIndexOutOfBoundsException in BufferedLineReaderInputStream when stream contains 0xFF

Posted by "Oleg Kalnichevski (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/MIME4J-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski updated MIME4J-74:
------------------------------------

    Priority: Critical  (was: Major)

Daaaaamn! I think this is a critical bug. That means we will need a release soon.

Oleg

> ArrayIndexOutOfBoundsException in BufferedLineReaderInputStream when stream contains 0xFF
> -----------------------------------------------------------------------------------------
>
>                 Key: MIME4J-74
>                 URL: https://issues.apache.org/jira/browse/MIME4J-74
>             Project: JAMES Mime4j
>          Issue Type: Bug
>    Affects Versions: 0.4
>            Reporter: Niklas Therning
>            Assignee: Niklas Therning
>            Priority: Critical
>             Fix For: 0.5
>
>
> The line
>   int[] shiftTable = new int[255];
> should
>   int[] shiftTable = new int[256];

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (MIME4J-74) ArrayIndexOutOfBoundsException in BufferedLineReaderInputStream when stream contains 0xFF

Posted by "Niklas Therning (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/MIME4J-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632115#action_12632115 ] 

Niklas Therning commented on MIME4J-74:
---------------------------------------

Yes, in the HTTP context it certainly is. That's how I found it. Maybe a 0.4.1 release branched from the 0.4 code and only including this fix is the best way?

> ArrayIndexOutOfBoundsException in BufferedLineReaderInputStream when stream contains 0xFF
> -----------------------------------------------------------------------------------------
>
>                 Key: MIME4J-74
>                 URL: https://issues.apache.org/jira/browse/MIME4J-74
>             Project: JAMES Mime4j
>          Issue Type: Bug
>    Affects Versions: 0.4
>            Reporter: Niklas Therning
>            Assignee: Niklas Therning
>            Priority: Critical
>             Fix For: 0.5
>
>
> The line
>   int[] shiftTable = new int[255];
> should
>   int[] shiftTable = new int[256];

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (MIME4J-74) ArrayIndexOutOfBoundsException in BufferedLineReaderInputStream when stream contains 0xFF

Posted by "Niklas Therning (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/MIME4J-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niklas Therning resolved MIME4J-74.
-----------------------------------

    Resolution: Fixed

> ArrayIndexOutOfBoundsException in BufferedLineReaderInputStream when stream contains 0xFF
> -----------------------------------------------------------------------------------------
>
>                 Key: MIME4J-74
>                 URL: https://issues.apache.org/jira/browse/MIME4J-74
>             Project: JAMES Mime4j
>          Issue Type: Bug
>    Affects Versions: 0.4
>            Reporter: Niklas Therning
>            Assignee: Niklas Therning
>             Fix For: 0.5
>
>
> The line
>   int[] shiftTable = new int[255];
> should
>   int[] shiftTable = new int[256];

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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