From c20a39100d1cd2659a1dd919a8b02851b365ae84 Mon Sep 17 00:00:00 2001 From: Stefan Roehrich Date: Sun, 1 Dec 2002 18:57:51 +0000 Subject: [PATCH] Adapt gzinflate/gzuncompress length to current maximal tried length. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@106455 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/zlib/functions/gzinflate.xml | 4 ++-- reference/zlib/functions/gzuncompress.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/reference/zlib/functions/gzinflate.xml b/reference/zlib/functions/gzinflate.xml index 500e55780c..d06edb7625 100644 --- a/reference/zlib/functions/gzinflate.xml +++ b/reference/zlib/functions/gzinflate.xml @@ -1,5 +1,5 @@ - + @@ -17,7 +17,7 @@ This function takes data compressed by gzdeflate and returns the original uncompressed data or &false; on error. The function will return an - error if the uncompressed data is more than 256 times the length + error if the uncompressed data is more than 32768 times the length of the compressed input data or more than the optional parameter length. diff --git a/reference/zlib/functions/gzuncompress.xml b/reference/zlib/functions/gzuncompress.xml index 2e476e2f56..364fa7a1a9 100644 --- a/reference/zlib/functions/gzuncompress.xml +++ b/reference/zlib/functions/gzuncompress.xml @@ -1,5 +1,5 @@ - + @@ -17,7 +17,7 @@ This function takes data compressed by gzcompress and returns the original uncompressed data or &false; on error. The function will return an - error if the uncompressed data is more than 256 times the length + error if the uncompressed data is more than 32768 times the length of the compressed input data or more than the optional parameter length.