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

Find boundary from InputStream

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.4
    • 3.0.13, 3.1.11, 3.2.0
    • Core, JAX-RS
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: