Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-2299

Reading CMP messages over http1/1 with chunked encoding can fail

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: EJBCA 4.0.3
    • Fix Version/s: EJBCA 4.0.4
    • Component/s: Protocols
    • Labels:
      None

      Description

      in CMPServlet we assume that SevrletInputStream.read(byte[]) will read everything in the POST. This does not have to be so. We must always check the return value from a read operation and not terminate until we hit a -1 (eof).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tomas Tomas Gustavsson
              Reporter:
              tomas Tomas Gustavsson
              Verified by:
              Anders Rundgren (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: