From 09edebd2b73cc9748bc7aa6bf43cd1a44e47e1b9 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Fri, 2 Jan 2009 00:22:55 +0000 Subject: [PATCH] - MFB: fix filename property read --- ext/zip/php_zip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.50.1