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

OSCMessage::getOSCData() can render message unusable #129

Open
h4yn0nnym0u5e opened this issue Feb 2, 2022 · 0 comments
Open

OSCMessage::getOSCData() can render message unusable #129

h4yn0nnym0u5e opened this issue Feb 2, 2022 · 0 comments
Assignees

Comments

@h4yn0nnym0u5e
Copy link
Contributor

If you pass a position parameter greater than the number of available data items, the message's error gets set to INDEX_OUT_OF_BOUNDS, in addition to a NULL pointer being being returned. This is extremely unhelpful, as there's nothing wrong with the message, and it means any further attempts to access the data items return incorrect values. Since there's no way of resetting the error code, a previously perfectly good message is rendered useless.

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

No branches or pull requests

2 participants