Skip to content

Commit e7535e0

Browse files
committed
Merge branch 'PHP-5.4'
* PHP-5.4: Fixed bug #62597 (segfault in php_stream_wrapper_log_error with ZTS build)
2 parents 401230c + 2d9d2ca commit e7535e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/standard/file.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ static void file_globals_ctor(php_file_globals *file_globals_p TSRMLS_DC)
161161
FG(pclose_ret) = 0;
162162
FG(user_stream_current_filename) = NULL;
163163
FG(def_chunk_size) = PHP_SOCK_CHUNK_SIZE;
164+
FG(wrapper_errors) = NULL;
164165
}
165166

166167
static void file_globals_dtor(php_file_globals *file_globals_p TSRMLS_DC)

0 commit comments

Comments
 (0)