summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zip/php_zip.c')
-rw-r--r--ext/zip/php_zip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c
index 29f7ac69a8..e0b6579448 100644
--- a/ext/zip/php_zip.c
+++ b/ext/zip/php_zip.c
@@ -780,6 +780,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);
}
}
}