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

Find boundary from InputStream

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.4
    • Fix Version/s: 3.0.13, 3.1.11, 3.2.0
    • Component/s: Core, JAX-RS
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      in method AttachmentDeserializer.findBoundaryFromInputStream line: "int i = in.read(buf)" is invalid, because read returns "some number of bytes from the input stream and stores them into the buffer array b" so you should check result from read method and repeat reading if neccesary

        Attachments

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              havlenapetr Petr Havlena
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: