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 "Oleg Kalnichevski (JIRA)" <se...@james.apache.org> on 2008/07/17 14:51:31 UTC

[jira] Updated: (MIME4J-55) Infinite loop on very long boundary (7000 chars)

     [ https://issues.apache.org/jira/browse/MIME4J-55?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski updated MIME4J-55:
------------------------------------

    Attachment: mime4j.patch

The patch attached enables mime4j to parse messages with boundaries of arbitrary length. Please review.

The parch is against the streaming-branch

Stefano,

Could you _please_ merge the streaming-branch up to the trunk? It is extremely inconvenient to have the latest code spread over 3 different branches. No one seems to object merging the changes off the streaming-branch to the trunk.

Feel free to add whatever expected results for the very-very-long-boundary.msg you deem reasonable.

Cheers

Oleg

> Infinite loop on very long boundary (7000 chars)
> ------------------------------------------------
>
>                 Key: MIME4J-55
>                 URL: https://issues.apache.org/jira/browse/MIME4J-55
>             Project: Mime4j
>          Issue Type: Bug
>            Reporter: Stefano Bagnara
>             Fix For: 0.4
>
>         Attachments: mime4j.patch
>
>
> RFC does not mandate parsing of a boundary of that size, but for sure we should avoid an infinite loop.
> I committed very-very-long-boundary.msg as a proof.

-- 
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