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

Tokenizer: prevent OOB read when processing #embed directive #657

Merged
merged 1 commit into from
Mar 30, 2024

Conversation

ehaas
Copy link
Collaborator

@ehaas ehaas commented Mar 30, 2024

If a colon appeared at the end of an embed directive and was the last byte in a file, we would do an out of bounds read trying to tokenize a double colon.

If a colon appeared at the end of an embed directive and was the
last byte in a file, we would do an out of bounds read trying to
tokenize a double colon.
@Vexu Vexu merged commit aed02e7 into Vexu:master Mar 30, 2024
3 checks passed
@ehaas ehaas deleted the tokenizer-fix branch March 30, 2024 06:49
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