com php-src: Fixed #68692: ext/standard/php_fopen_wrapper .c
| From: | Xinchen Hui | Date: | Thu, 08 Jan 2015 08:29:33 +0000 |
| Subject: | com php-src: Fixed #68692: ext/standard/php_fopen_wrapper .c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84030@lists.php.net to get a copy of this message | ||
Commit: 7ebdc8d70d7617f2c3353b027663ef54a24a2248
Author: Xinchen Hui <laruence@php.net> Thu, 8 Jan 2015 16:29:33 +0800
Parents: f3ea1b0b6a42a08093bf9191ad76fb4b5e0a653b
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7ebdc8d70d7617f2c3353b027663ef54a24a2248
Log:
Fixed #68692
Bugs:
https://bugs.php.net/68692
Changed paths:
M ext/standard/php_fopen_wrapper.c
Diff:
diff --git a/ext/standard/php_fopen_wrapper.c b/ext/standard/php_fopen_wrapper.c
index 9239b37..dc52ade 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);