Skip to content

Fix bug #72221 (segfault, past-the-end access) #1916

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

Merged
merged 2 commits into from
May 28, 2016

Conversation

Metabolix
Copy link
Contributor

There's a past-the-end access in zend_memnstr_ex. This may cause segfaults, as seen in bug #72221.

@staabm
Copy link
Contributor

staabm commented May 23, 2016

Any covering unit test?

@Metabolix
Copy link
Contributor Author

Added unit test.

@php-pulls php-pulls merged commit ad98f57 into php:master May 28, 2016
@laruence
Copy link
Member

merged, thanks, the problem only shows if haystack is not NULL terminated string..

@Metabolix Metabolix deleted the fix-72221 branch May 30, 2016 14:43
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.

4 participants