Skip to content

[Fix #22254] Put real storage behind PM_STRING_EMPTY - #4228

Open
Earlopain wants to merge 1 commit into
ruby:mainfrom
Earlopain:empty-string-with-storage
Open

Earlopain wants to merge 1 commit into
ruby:mainfrom
Earlopain:empty-string-with-storage

Conversation

@Earlopain

Copy link
Copy Markdown
Collaborator

Some places memcpy the source, and NULL there is undefined behaviour.

Fixes https://bugs.ruby-lang.org/issues/22254

Some places memcpy the source, and NULL there is undefined behaviour.

Fixes https://bugs.ruby-lang.org/issues/22254
@Earlopain
Earlopain force-pushed the empty-string-with-storage branch from b37151f to 839c1a1 Compare September 14, 2026 12:16
@Earlopain Earlopain changed the title Put real storage behind PM_STRING_EMPTY [Fix Put real storage behind PM_STRING_EMPTY Sep 14, 2026
@Earlopain Earlopain changed the title [Fix Put real storage behind PM_STRING_EMPTY [Fix #22254] Put real storage behind PM_STRING_EMPTY Sep 14, 2026
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