Bug #61115 [Asn->Csd]: Stream related segfault on fatal error in php_stream_context_del_link
| From: | nikic@php.net | Date: | Sat, 19 May 2012 14:58:13 +0000 |
| Subject: | Bug #61115 [Asn->Csd]: Stream related segfault on fatal error in php_stream_context_del_link | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-170585@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61115&edit=1
ID: 61115
Updated by: nikic@php.net
Reported by: nikic@php.net
Summary: Stream related segfault on fatal error in
php_stream_context_del_link
-Status: Assigned
+Status: Closed
Type: Bug
Package: Reproducible crash
PHP Version: 5.4.0RC7
Assigned To: cataphract
Block user comment: N
Private report: N
New Comment:
Forgot to close this.
Previous Comments:
------------------------------------------------------------------------
[2012-04-18 09:46:05] laruence@php.net
Automatic comment on behalf of cataphract
Revision: http://git.php.net/?p=php-src.git;a=commit;h=cde766222616500155c204e12bc24036b63eb82e
Log: - Fixed bug #61115 (stream related segfault on fatal error in php_stream_context_link).
#run-tests.php is not currently detecting the segfault in the test #Missing 5.4 merge
------------------------------------------------------------------------
[2012-04-18 09:45:16] laruence@php.net
Automatic comment on behalf of cataphract
Revision: http://git.php.net/?p=php-src.git;a=commit;h=e132db7a57a6afc53cceec15f19541ec29d8233a
Log: - Fixed bug #61371 (resource leak). This bug had two parts, a long standing leak already
fixed in trunk/5.3 and now merged onto 5.4 and a leak introduced in fixing bug #61115. This better
fix for #61115 fixes the leak (the inhibition for deleting the context was too broad) and so
prevents segfaults in new circumstances (where the inhibition was not broad enough).
------------------------------------------------------------------------
[2012-03-17 19:37:20] cataphract@php.net
Automatic comment from SVN on behalf of cataphract
Revision: http://svn.php.net/viewvc/?view=revision&revision=324324
Log: - Fixed bug #61371 (resource leak). This bug had two parts, a long standing leak
already fixed in trunk/5.3 and now merged onto 5.4 and a leak introduced in
fixing bug #61115. This better fix for #61115 fixes the leak (the inhibition
for deleting the context was too broad) and so prevents segfaults in new
circumstances (where the inhibition was not broad enough).
------------------------------------------------------------------------
[2012-02-24 23:50:18] nikic@php.net
Leaving this open until this is merged to 5.4 as per cjones request.
------------------------------------------------------------------------
[2012-02-24 22:56:18] cataphract@php.net
Automatic comment from SVN on behalf of cataphract
Revision: http://svn.php.net/viewvc/?view=revision&revision=323478
Log: - Better fix for #61115.
- Fixed resource leak in stream_socket_client().
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=61115
--
Edit this bug report at https://bugs.php.net/bug.php?id=61115&edit=1