Skip to content
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

BufferOverflow Exception #833

Closed
arthurbenemann opened this issue Jun 30, 2014 · 1 comment
Closed

BufferOverflow Exception #833

arthurbenemann opened this issue Jun 30, 2014 · 1 comment

Comments

@arthurbenemann
Copy link
Member

java.nio.BufferOverflowException
    at java.nio.ByteArrayBuffer.putLong(ByteArrayBuffer.java:383)
    at org.droidplanner.android.communication.connection.MAVLinkConnection.saveToLog(MAVLinkConnection.java:154)
    at org.droidplanner.android.communication.connection.MAVLinkConnection.sendMavPacket(MAVLinkConnection.java:181)
    at org.droidplanner.android.communication.service.MAVLinkService$IncomingHandler.handleMessage(MAVLinkService.java:78)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:136)
    at android.app.ActivityThread.main(ActivityThread.java:5001)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
    at dalvik.system.NativeStart.main(Native Method)
arthurbenemann added a commit to arthurbenemann/droidplanner that referenced this issue Jun 30, 2014
Increased the buffer size and added a catch for buffer overflow
exceptions.
arthurbenemann added a commit that referenced this issue Jun 30, 2014
Android: Trying a dirty fix for issue #833.
@arthurbenemann
Copy link
Member Author

Fixed by #834.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant