-
Notifications
You must be signed in to change notification settings - Fork 56
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
Problem with stun #21
Comments
Could you please share the input data? It looks like the input data is malformed! |
Thanks for sharing the hex data. It looks malformed to me. How do you see it (what does Wireshark tell you)? |
o.k., it seems like it is a problem within the code. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
arraycopy: last destination index 24 out of bounds for byte[20]
java.lang.ArrayIndexOutOfBoundsException: arraycopy: last destination index 24 out of bounds for byte[20]
at java.base/java.lang.System.arraycopy(Native Method)
at de.javawi.jstun.attribute.ErrorCode.getBytes(ErrorCode.java:79)
at de.javawi.jstun.attribute.MessageAttribute.getLength(MessageAttribute.java:76)
at de.javawi.jstun.header.MessageHeader.parseAttributes(MessageHeader.java:157)
at de.javawi.jstun.test.DiscoveryTest.test2(DiscoveryTest.java:193)
at de.javawi.jstun.test.DiscoveryTest.test(DiscoveryTest.java:65)
at de.javawi.jstun.test.demo.DiscoveryTestDemo.run(DiscoveryTestDemo.java:78)
at java.base/java.lang.Thread.run(Thread.java:834)
Got the following error, probably some parsing inconsistency, cause this came back from coturn stun
The text was updated successfully, but these errors were encountered: