Regarding HTTP_Request bug #10790
| From: | Bill Moran | Date: | Mon, 30 Apr 2007 19:00:13 +0000 |
| Subject: | Regarding HTTP_Request bug #10790 | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-46513@lists.php.net to get a copy of this message | ||
I was wondering what the status on this is. It's biting us right now
and I'd like to see a fix go through the proper channels, as opposed
to hacking it locally.
According to http://bugs.php.net/bug.php?id=39062
the following diff should ensure that this bug is squashed, even if
the PHP folks decide to change the behaviour of crc32() again:
1374c1374
< if ($crcReal != $crcStored[1]) {
---
> if (dechex($crcReal) != dechex($crcStored[1])) {
1390c1390
< } elseif ($dataCrc != crc32($unpacked)) {
---
> } elseif (dechex($dataCrc) != dechex(crc32($unpacked))) {
--
Bill Moran
Collaborative Fusion Inc.
http://people.collaborativefusion.com/~wmoran/
wmoran@collaborativefusion.com
Phone: 412-422-3463x4023