From: Pierre Joye Date: Fri, 2 Jan 2009 00:22:55 +0000 (+0000) Subject: - MFB: fix filename property read X-Git-Tag: php-5.4.0alpha1~191^2~4678 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09edebd2b73cc9748bc7aa6bf43cd1a44e47e1b9;p=php - MFB: fix filename property read --- diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index 81a6c34fa8..e1aa3a0bf0 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -791,7 +791,7 @@ static int php_zip_property_reader(ze_zip_object *obj, zip_prop_handler *hnd, zv switch (hnd->type) { case IS_STRING: if (retchar) { - ZVAL_STRINGL(*retval, (char *) retchar, len, 1); + ZVAL_STRING(*retval, (char *) retchar, 1); } else { ZVAL_EMPTY_STRING(*retval); }