Bug #61253 [PATCH]: Wrappers opened with errors concurrency problem

From: Date: Fri, 02 Mar 2012 22:13:02 +0000
Subject: Bug #61253 [PATCH]: Wrappers opened with errors concurrency problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-168052@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61253&edit=1

 ID:                 61253
 Patch added by:     cataphract@php.net
 Reported by:        cataphract@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] cataphract@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


Thread (8 messages)

« previous php.bugs (#168052) next »