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

Avoid use-after-free in builtin unicode #20

Merged
merged 1 commit into from
Dec 21, 2023
Merged

Conversation

ethomson
Copy link
Owner

Calculate length before realloc, not after.

Calculate length _before_ realloc, not after.
@ethomson ethomson merged commit 73cd8a3 into main Dec 21, 2023
17 checks passed
@ethomson ethomson deleted the ethomson/use_after_free branch December 21, 2023 20:25
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.

1 participant