Edit report at https://bugs.php.net/bug.php?id=61253&edit=1

 ID:                 61253
 Patch added by:     cataphr...@php.net
 Reported by:        cataphr...@php.net
 Summary:            Wrappers opened with errors concurrency problem
 Status:             Open
 Type:               Bug
 Package:            Streams related
 Operating System:   Any (ZTS)
 PHP Version:        5.4SVN-2012-03-02 (SVN)
 Block user comment: N
 Private report:     N

 New Comment:

The following patch has been added/updated:

Patch Name: bug61253.diff
Revision:   1330726381
URL:        
https://bugs.php.net/patch-display.php?bug=61253&patch=bug61253.diff&revision=1330726381


Previous Comments:
------------------------------------------------------------------------
[2012-03-02 22:08:08] cataphr...@php.net

Description:
------------
When opening the same wrapper in several threads and this generates errors, a 
segfault may result.

Test script:
---------------
<?php
file_get_contents('http://localhost/notfound');

Expected result:
----------------
Each requests shows a 404 error.

Actual result:
--------------
Segfault given enough concurrency


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61253&edit=1

Reply via email to