From: Derick Rethans Date: Sat, 6 Apr 2002 17:29:44 +0000 (+0000) Subject: - MFH zip_entry_read_bug X-Git-Tag: php-4.2.0RC3~41 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5a673f727cc8e27d9c4b798bdce96128032cc561;p=php - MFH zip_entry_read_bug --- diff --git a/ext/zip/zip.c b/ext/zip/zip.c index f5bf798ba4..7efb16db7b 100644 --- a/ext/zip/zip.c +++ b/ext/zip/zip.c @@ -285,7 +285,7 @@ PHP_FUNCTION(zip_entry_read) if (ret == 0) { RETURN_FALSE; } else { - RETURN_STRINGL(buf, len, 0); + RETURN_STRINGL(buf, ret, 0); } } /* }}} */