Skip to content

incorrect index range check #546

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

Closed

Conversation

sniperbat
Copy link

If index is bigger then m_Cameras.Length + 1, will pass the range check. and cause out of range access issue.
If there are intentionally process for some reasons, ignore me.

THX

@sebastienlagarde
Copy link
Contributor

@JulienIgnace-Unity can you check? also do the fix on master if it make sense . thanks

@sebastienlagarde
Copy link
Contributor

Thanks for the PR.
we have redone the PR and will backport for 19.3
#591

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

Successfully merging this pull request may close these issues.

3 participants