Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-3582

Reading attachments using the middle of large buffer results in corruption

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.4
    • 2.4.1, 2.3.5
    • Core
    • None

    Description

      When reading the attachment streams using ins.read(buf, 300, 500) or similar (using the middle of a byte buffer), when a boundary is reached, not all the data is pushed back. The result is that attachment headers get lost and thus attachments are not found.

      Attachments

        Activity

          People

            dkulp Daniel Kulp
            dkulp Daniel Kulp
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: