]> granicus.if.org Git - php/commitdiff
Adjust previous fix
authorIlia Alshanetsky <iliaa@php.net>
Tue, 24 Feb 2009 23:55:14 +0000 (23:55 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 24 Feb 2009 23:55:14 +0000 (23:55 +0000)
ext/zip/php_zip.c

index 29f7ac69a87d0b82e46f34eff8597a44438195fe..e0b657944899b1d3a8f64b44363c39634371005c 100644 (file)
@@ -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);
                                }
                        }
                }