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

Fix oob access of mLightAccList in updateLightList #9

Open
wants to merge 1 commit into
base: release
Choose a base branch
from

Conversation

YakoYakoYokuYoku
Copy link

ReleaseNote

Compatibility (major, minor, patch, build): build
Jira ticket: N/A.
Release Notes Comment: Fix out of bounds access of mLightAccList in Scene::updateLightList.

Special Notes: N/A.

Look or Scene Setup Change: No

Reviewers

N/A.

Pull request comments

Fixes an oob assertion check in Scene::updateLightList when accessing a cleaned mLightAccList, reserving space for a std::vector does not set its size if it is zero, so mLightAccList.resize should be used instead.

Rats test images

N/A.

Documentation (link)

N/A.

Unit Test Reminder

N/A.

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