note 98968 added to function.gzinflate
| From: | ldrut at osu1 dot php dot net | Date: | Mon, 19 Jul 2010 14:05:38 +0000 |
| Subject: | note 98968 added to function.gzinflate | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-170966@lists.php.net to get a copy of this message | ||
The octet count may contain leading zeros so the inner loop of vitall at ua dot fm's routine
should read:
do{
$p = strpos($d,$rn,$ofs);
$len = hexdec(substr($d,$ofs,$p-$ofs));
if ($len == 0) break;
$str .= substr($d,$p+$lrn,$len);
$ofs = $p+$lrn*2+$len;
}while (true);
----
Server IP: 192.41.42.26
Probable Submitter: 75.132.184.53
----
Manual Page -- http://www.php.net/manual/en/function.gzinflate.php
Edit -- https://master.php.net/note/edit/98968
Del: integrated -- https://master.php.net/note/delete/98968/integrated
Del: useless -- https://master.php.net/note/delete/98968/useless
Del: bad code -- https://master.php.net/note/delete/98968/bad+code
Del: spam -- https://master.php.net/note/delete/98968/spam
Del: non-english -- https://master.php.net/note/delete/98968/non-english
Del: in docs -- https://master.php.net/note/delete/98968/in+docs
Del: other reasons-- https://master.php.net/note/delete/98968
Reject -- https://master.php.net/note/reject/98968
Search -- https://master.php.net/manage/user-notes.php