]> granicus.if.org Git - php/commit
- Fixed bug #61253: Wrappers opened with errors concurrency problem
authorGustavo André dos Santos Lopes <cataphract@php.net>
Thu, 8 Mar 2012 12:30:59 +0000 (12:30 +0000)
committerGustavo André dos Santos Lopes <cataphract@php.net>
Thu, 8 Mar 2012 12:30:59 +0000 (12:30 +0000)
commit7166298d63f4dbb66b951da4182a0b2c42f61f68
treede0b753977744fa7998c848fdeb401ea92a84406
parentfee191658d2d51e76911f1d804cf6458ee9243e8
- Fixed bug #61253: Wrappers opened with errors concurrency problem
#NOTE: There is a very small possibility that this will further break
#extensions that access wrapper->{err_stack, err_count}. On PECL SVN, rar is the
#only one and it may leak memory after this. I say "further break" because
#extensions that do that are already broken (will segfault) under ZTS, which is
#why this patch is necessary.
#There was what I deem as tacit acceptance from 5.3/5.4 RMs on this.
ext/standard/basic_functions.c
ext/standard/file.h
main/php_streams.h
main/streams/streams.c