Skip to content

Fix undefined behavior in pm_parser_init - #4517

Merged
kddnewton merged 1 commit into
ruby:mainfrom
luke-gruber:fix_ub_pm_parser_init
Dec 1, 2026
Merged

kddnewton merged 1 commit into
ruby:mainfrom
luke-gruber:fix_ub_pm_parser_init

Conversation

@luke-gruber

Copy link
Copy Markdown
Contributor

The undefined behavior in C99/C11 is memcpy where src=NULL,len=0. Found with UBSan.

The undefined behavior in C99/C11 is memcpy where src=NULL,len=0. Found with UBSan.
@kddnewton
kddnewton merged commit 290778c into ruby:main Dec 1, 2026
122 checks passed
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