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

Reading OCSP messages over http1.1 with chunked encoding can fail

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: EJBCA 4.0.6
    • Fix Version/s: EJBCA 4.0.7, EJBCA 5.0.2
    • Component/s: Protocols
    • Labels:
      None

      Description

      in LimitLengthASN1Reader.readTopASN1 we assume that ServletInputStream.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:
              Mike Agrenius Kushner
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: