Skip to content

Conversation

@s-perron
Copy link
Collaborator

The code in copy propagate arrays assumes that the length of an
OpTypeArray is known at compile time, but that is not true when the size
is an OpSpecConstant. We try to fix that assumption.

Fixes https://crbug.com/oss-fuzz/66634

The code in copy propagate arrays assumes that the length of an
OpTypeArray is known at compile time, but that is not true when the size
is an OpSpecConstant. We try to fix that assumption.

Fixes https://crbug.com/oss-fuzz/66634
Comment on lines +104 to +105
// |this| does not represent a composite type or the number of components is
// not known at compile time, the return value will be 0.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This changes the comment to reflect what is already done for types like OpRuntimeArray.

@s-perron s-perron requested a review from sudonatalie February 12, 2024 19:33
@s-perron s-perron merged commit e08c012 into KhronosGroup:main Feb 13, 2024
@s-perron s-perron deleted the crbug branch September 16, 2024 13:11
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.

2 participants