summaryrefslogtreecommitdiff
path: root/ext/standard/php_fopen_wrapper.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2015-01-08 16:29:33 +0800
committerXinchen Hui <laruence@php.net>2015-01-08 16:29:33 +0800
commit7ebdc8d70d7617f2c3353b027663ef54a24a2248 (patch)
tree411a21441c4460688ef4fc42f39d17d5446ed951 /ext/standard/php_fopen_wrapper.c
parentf3ea1b0b6a42a08093bf9191ad76fb4b5e0a653b (diff)
downloadphp-git-7ebdc8d70d7617f2c3353b027663ef54a24a2248.tar.gz
Fixed #68692
Diffstat (limited to 'ext/standard/php_fopen_wrapper.c')
-rw-r--r--ext/standard/php_fopen_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/php_fopen_wrapper.c b/ext/standard/php_fopen_wrapper.c
index 9239b37032..dc52ade5c8 100644
--- a/ext/standard/php_fopen_wrapper.c
+++ b/ext/standard/php_fopen_wrapper.c
@@ -146,7 +146,7 @@ php_stream_ops php_stream_input_ops = {
static void php_stream_apply_filter_list(php_stream *stream, char *filterlist, int read_chain, int write_chain) /* {{{ */
{
- char *p, *token;
+ char *p, *token = NULL;
php_stream_filter *temp_filter;
p = php_strtok_r(filterlist, "|", &token);