Skip to content

Fix GH-16360 mb_substr overflow on start and length arguments. #16361

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

Closed
wants to merge 1 commit into from

Conversation

devnexen
Copy link
Member

occurs when they are negated to start working from the end instead when set with ZEND_LONG_MIN.

occurs when they are negated to start working from the end instead
when set with ZEND_LONG_MIN.
@alexdowad
Copy link
Contributor

LGTM. Let's hear if @youkidearitai has anything to say.

Also pinging @nielsdos in case he is interested.

@alexdowad
Copy link
Contributor

I'm glad to see the fix is targeting 8.2.

Copy link
Contributor

@youkidearitai youkidearitai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks!

@devnexen
Copy link
Member Author

Merged with c34d4fb

@devnexen devnexen closed this Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UBSan abort in ext/mbstring/mbstring.c:2343
4 participants