Skip to content

Fix #70842: Streams related segfault #1616

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 1 commit into from
Nov 9, 2015

Conversation

cchamplin
Copy link
Contributor

Make sure stream context is set to null to prevent use after free

@cchamplin cchamplin changed the title Fix #70842: Steams related segfault Fix #70842: Streams related segfault Nov 2, 2015
@laruence laruence added the Bug label Nov 3, 2015
@laruence
Copy link
Member

laruence commented Nov 3, 2015

are you able to make a test script? (phpt file)

@cchamplin
Copy link
Contributor Author

I was not able to consistently reproduce the segfault related to this commit in a trivial amount of php. Not sure if someone else can look into finding a better way to reproduce.

@php-pulls php-pulls merged commit f2ad7e7 into php:master Nov 9, 2015
@laruence
Copy link
Member

laruence commented Nov 9, 2015

I can reproduce this locally, but yeah, it's complicated to make a self-contained test script. thanks, merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants