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

index 30413f3196eb29d6da72695ca47b08042f17393d..7178994cc60055c4e33346d9c3545e2e51daa33d 100644 (file)
@@ -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);
                                }
                        }
                }