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

Check bytecode version before writing type information #1249

Closed
wants to merge 1 commit into from

Conversation

luau-load
Copy link

When setting LBC_VERSION_TARGET to 3, the bytecode builder will still write type information, resulting in undefined behavior in luau_load, due to it actually checking the version before reading type information.

@vegorov-rbx vegorov-rbx added the invalid This doesn't seem right label May 8, 2024
@vegorov-rbx
Copy link
Collaborator

Our target is now version 5 and we do not support writing older versions.

@vegorov-rbx vegorov-rbx closed this May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Development

Successfully merging this pull request may close these issues.

None yet

2 participants