Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-613

Calling IoBuffer.slice() in CumulativeProtocolDecoder.doDecode() can cause data corruption.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-M1, 2.0.0-M2
    • 2.0.0-M3
    • Filter
    • None

    Description

      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.

      Attachments

        1. MinaCPProblemTest.java
          4 kB
          Trustin Lee

        Activity

          People

            trustin Trustin Lee
            trustin Trustin Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: