Patch fix-initialization.patch for ICONV related Bug #75867
Patch version 2018-01-24 02:51 UTC
Return to Bug #75867 |
Download this patch
Patch Revisions:
Developer: mike@flyn.org
diff -u --recursive php-7.2.1-vanilla/ext/iconv/iconv.c php-7.2.1/ext/iconv/iconv.c
--- php-7.2.1-vanilla/ext/iconv/iconv.c 2018-01-23 21:30:38.134438464 -0500
+++ php-7.2.1/ext/iconv/iconv.c 2018-01-23 21:30:59.189475945 -0500
@@ -2447,7 +2447,7 @@
zend_string *in_buffer;
size_t in_charset_len = 0, out_charset_len = 0;
php_iconv_err_t err;
- zend_string *out_buffer;
+ zend_string *out_buffer = NULL;
if (zend_parse_parameters(ZEND_NUM_ARGS(), "ssS",
&in_charset, &in_charset_len, &out_charset, &out_charset_len, &in_buffer) == FAILURE)
|