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

Don't make static tokens constant #1169

Merged
merged 1 commit into from
Nov 27, 2024
Merged

Conversation

gtrepta
Copy link
Contributor

@gtrepta gtrepta commented Nov 26, 2024

Fixes a regression introduced in #1167 when mutable bytes are enabled. Hooked functions like replaceAtBytes that get called on static byte strings were causing segfaults because they were in read-only memory.

@gtrepta gtrepta requested a review from dwightguth November 26, 2024 22:12
@rv-jenkins rv-jenkins changed the base branch from master to develop November 26, 2024 22:13
@dwightguth dwightguth merged commit 03f0fa6 into develop Nov 27, 2024
11 checks passed
@dwightguth dwightguth deleted the constants-mutable-bytes-fix branch November 27, 2024 17:50
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