[
https://issues.apache.org/jira/browse/DIRMINA-613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trustin Lee updated DIRMINA-613:
--------------------------------
Attachment: MinaCPProblemTest.java
The test case which reproduces the problem. The test case is against MINA
2.0.0-M1, but it should compile once import statements are fixed.
The test doesn't fail at all because it just prints out 1000 lines of progress.
If it doesn't reach to 999, then it's failure.
> Calling IoBuffer.slice() in CumulativeProtocolDecoder.doDecode() can cause
> data corruption.
> --------------------------------------------------------------------------------------------
>
> Key: DIRMINA-613
> URL: https://issues.apache.org/jira/browse/DIRMINA-613
> Project: MINA
> Issue Type: Bug
> Components: Filter
> Affects Versions: 2.0.0-M1, 2.0.0-M2
> Reporter: Trustin Lee
> Assignee: Trustin Lee
> Fix For: 2.0.0-M3
>
> Attachments: MinaCPProblemTest.java
>
>
> According to the attached test case, it seems like it is easy to cause data
> corruption if a user calls IoBuffer.slice() inside
> CumulativeProtocolDecoder.doDecode() implementation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.