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

Similar to previous Vec fixes, fix Color4 UB #450

Merged
merged 1 commit into from
Nov 3, 2024

Conversation

kdt3rd
Copy link
Contributor

@kdt3rd kdt3rd commented Nov 3, 2024

Color4 does not derive from Vec4 the way Color3 derives from Vec3, so UB fix needed to avoid incorrect optimization in the presence of undefined behavior.

Should be included with patch release for #446

Color4 does not derive from Vec4 the way Color3 derives from Vec3, so UB
fix needed to avoid incorrect optimization in the presence of undefined
behavior.

Signed-off-by: Kimball Thurston <[email protected]>
Copy link
Member

@cary-ilm cary-ilm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cary-ilm cary-ilm merged commit bb6348b into AcademySoftwareFoundation:main Nov 3, 2024
31 checks passed
@kdt3rd kdt3rd deleted the fix_color_ub branch November 9, 2024 00:35
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

Successfully merging this pull request may close these issues.

3 participants