-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Input stream mark and reset do not preserve endianness #63
Comments
Hi, |
russgold
pushed a commit
that referenced
this issue
Apr 27, 2020
Signed-off-by: David Marina <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When an input stream is marked, the underlying
byteBuffer
is duplicated using thejava.nio.ByteBuffer.duplicate()
function which does not replicate the buffer byte order.orb/orbmain/src/main/java/com/sun/corba/ee/impl/encoding/CDRInputStream_1_0.java
Line 1922 in 8626fd5
This breaks the processing of little endian user exception replies which peeks at the exception id and resets the input stream with the wrong byte order.
orb/orbmain/src/main/java/com/sun/corba/ee/impl/protocol/ClientRequestDispatcherImpl.java
Line 549 in 8626fd5
The text was updated successfully, but these errors were encountered: