From: Ilia Alshanetsky Date: Tue, 24 Feb 2009 23:55:24 +0000 (+0000) Subject: MFB: Adjust previous fix X-Git-Tag: php-5.4.0alpha1~191^2~4218 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=57a7046be8fcc07ec1030a5bedacaaf03c82309b;p=php MFB: Adjust previous fix --- diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index 30413f3196..7178994cc6 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -779,6 +779,7 @@ static int php_zip_property_reader(ze_zip_object *obj, zip_prop_handler *hnd, zv } else { if (hnd->read_const_char_from_obj_func) { retchar = hnd->read_const_char_from_obj_func(obj TSRMLS_CC); + len = strlen(retchar); } } }