Home » Networking » Net_DNS » Bug #3969
Notices in DNS.php
Details
| Submitted | 2005-03-27 12:49 UTC |
|---|---|
| From | cox at idecnet dot com |
| Assigned | cox |
| Status | Closed |
| Package | Net_DNS |
| PHP Version | 4.3.10 |
| OS | n/a |
| Roadmaps | (Not assigned) |
Comments
[2005-03-27 12:49 UTC] cox at idecnet dot com
Description:
------------
<?php
$dns = new NET_DNS_Resolver;
$dns->query('www..com');
?>
Notice: Undefined offset: 867 in /usr/lib/php/Net/DNS.php on line 412
Notice: Undefined offset: 28525 in /usr/lib/php/Net/DNS.php on line 470
Notice: Undefined index: in /usr/lib/php/Net/DNS.php on line 346
I suggest changing "strlen()" tests with "isset()" on lines 412 and 470.
Tomas V.V.Cox
[2005-04-06 14:56 UTC] cox at idecnet dot com
This bug has been fixed in CVS.
In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.
In case this was a pear.php.net website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PEAR better.