Skip to content

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