summaryrefslogtreecommitdiff
path: root/main/php_streams.h
diff options
context:
space:
mode:
authorGustavo André dos Santos Lopes <cataphract@php.net>2012-03-08 12:30:59 +0000
committerGustavo André dos Santos Lopes <cataphract@php.net>2012-03-08 12:30:59 +0000
commit0169020e49951a489fe0237ed6696a1b241ae7e4 (patch)
tree705867b6e70d1d94a651f8b2723b57f367557b6f /main/php_streams.h
parentd1ccacd5a66c604792d0527ec6ffff68a5d59ed4 (diff)
downloadphp-git-0169020e49951a489fe0237ed6696a1b241ae7e4.tar.gz
- 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.
Diffstat (limited to 'main/php_streams.h')
-rwxr-xr-xmain/php_streams.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/main/php_streams.h b/main/php_streams.h
index 1388169f1a..291fd0d0ae 100755
--- a/main/php_streams.h
+++ b/main/php_streams.h
@@ -162,10 +162,6 @@ struct _php_stream_wrapper {
php_stream_wrapper_ops *wops; /* operations the wrapper can perform */
void *abstract; /* context for the wrapper */
int is_url; /* so that PG(allow_url_fopen) can be respected */
-
- /* support for wrappers to return (multiple) error messages to the stream opener */
- int err_count;
- char **err_stack;
};
#define PHP_STREAM_FLAG_NO_SEEK 1