[jdk17u-dev] RFR: 8323562: SaslInputStream.read() may return wrong value

Satyen Subramaniam ssubramaniam at openjdk.org
Tue Oct 22 15:52:04 UTC 2024


Backporting JDK-8323562: SaslInputStream.read() may return wrong value. SaslInputStream.read() should return a value in the range from 0 to 255 per the spec of InputStream.read() but it returns the signed byte from the inBuf as is. Patch is clean.

-------------

Commit messages:
 - Backport 5cf7947

Changes: https://git.openjdk.org/jdk17u-dev/pull/2989/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2989&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8323562
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/2989.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/2989/head:pull/2989

PR: https://git.openjdk.org/jdk17u-dev/pull/2989


More information about the jdk-updates-dev mailing list