We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cef4533 commit e50dc16Copy full SHA for e50dc16
ext/zlib/zlib.c
@@ -488,7 +488,7 @@ PHP_FUNCTION(gzuncompress)
488
/*
489
zlib::uncompress() wants to know the output data length
490
if none was given as a parameter
491
- we try from input length * 2 up to input length * 2^8
+ we try from input length * 2 up to input length * 2^15
492
doubling it whenever it wasn't big enough
493
that should be eneugh for all real life cases
494
*/
@@ -616,7 +616,7 @@ PHP_FUNCTION(gzinflate)
616
617
stream.avail_out wants to know the output data length
618
619
- we try from input length * 2 up to input length * 2^16
620
621
that should be enaugh for all real life cases
622
0 commit comments