RFR: 8323562: SaslInputStream.read() may return wrong value

Alan Bateman alanb at openjdk.org
Fri Jan 12 07:25:19 UTC 2024


On Thu, 11 Jan 2024 06:28:51 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> 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.

Just curious if this was found by inspection or when debugging some issue with LDAP authentication? Asking on whether it is feasible or not to have more tests in this area.

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

PR Comment: https://git.openjdk.org/jdk/pull/17365#issuecomment-1888555729


More information about the core-libs-dev mailing list