Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8235135

SaslInputStream.read(inBuf,start,count) still reads when count == 0

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: security-libs
    • Labels:
      None

      Description

      InputStream::readNBytes(int) has a chance to call read(buf,n,0) and expects it returning a zero. However, SaslInputStream does not follow this convention and insists reading something from the underlying stream even if count is 0, and thus hangs.

        Attachments

          Activity

            People

            • Assignee:
              weijun Weijun Wang
              Reporter:
              weijun Weijun Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: