From ca273c31dd893f8f2520b82c7359dac8424cd67d Mon Sep 17 00:00:00 2001 From: Lior Kaplan Date: Tue, 22 Jul 2014 14:13:12 +0300 Subject: [PATCH] ZVAL_STRINGL takes only three variables Follow up for commit f4cfaf36 --- ext/openssl/openssl.c | 2 +- ext/standard/scanf.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c index ed13bae12c..b0b23fe5d7 100755 --- a/ext/openssl/openssl.c +++ b/ext/openssl/openssl.c @@ -4867,7 +4867,7 @@ PHP_FUNCTION(openssl_seal) zval_dtor(*ivec); if (ivlen) { iv[ivlen] = '\0'; - ZVAL_STRINGL(*ivec, erealloc(iv, ivlen + 1), ivlen, 0); + ZVAL_STRINGL(*ivec, erealloc(iv, ivlen + 1), ivlen); } else { ZVAL_EMPTY_STRING(*ivec); } diff --git a/ext/standard/scanf.c b/ext/standard/scanf.c index ef3fe2969c..f5f97161f2 100644 --- a/ext/standard/scanf.c +++ b/ext/standard/scanf.c @@ -925,7 +925,7 @@ literal: __buf[1] = '\0';; current = args[objIndex++]; zval_dtor(*current); - ZVAL_STRINGL( *current, __buf, 1, 1); + ZVAL_STRINGL( *current, __buf, 1); } else { add_index_stringl(return_value, objIndex++, &sch, 1); } -- 2.40.0