Skip to content

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

Merged
php-pulls merged 2 commits intophp:masterfrom
Metabolix:fix-72221
May 28, 2016
Merged

Fix bug #72221 (segfault, past-the-end access)#1916
php-pulls merged 2 commits intophp:masterfrom
Metabolix:fix-72221

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