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

Mitigate SMIInput** overflow risk #229

Open
luigi-rosso opened this issue Apr 2, 2022 · 0 comments
Open

Mitigate SMIInput** overflow risk #229

luigi-rosso opened this issue Apr 2, 2022 · 0 comments
Assignees

Comments

@luigi-rosso
Copy link
Collaborator

Update StateInstance::advance to take the StateMachineInstance as an arguments instead of SMIInput** and use StateMachineInstance::input to get a range checked input.

https://github.com/rive-app/rive-cpp/blob/c43ce90e81c0a3608c5186f8c572cf480d1935bc/include/rive/animation/state_instance.hpp#L20

@luigi-rosso luigi-rosso self-assigned this Apr 2, 2022
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