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
This commit is contained in:
Stefan Roehrich 2002-12-01 18:57:51 +00:00
parent b5ac7588ab
commit c20a39100d
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/zlib.xml, last change in rev 1.11 -->
<refentry id="function.gzinflate">
<refnamediv>
@ -17,7 +17,7 @@
This function takes <parameter>data</parameter> compressed by
<function>gzdeflate</function> 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 <parameter>data</parameter> or more than
the optional parameter <parameter>length</parameter>.
</para>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/zlib.xml, last change in rev 1.11 -->
<refentry id="function.gzuncompress">
<refnamediv>
@ -17,7 +17,7 @@
This function takes <parameter>data</parameter> compressed by
<function>gzcompress</function> 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 <parameter>data</parameter> or more than
the optional parameter <parameter>length</parameter>.
</para>