Bug #17495 [Opn]: _connect function no error if no $nicServer

From: Date: Tue, 15 Jun 2010 17:30:41 +0000
Subject: Bug #17495 [Opn]: _connect function no error if no $nicServer
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-3944@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=17495&edit=1 ID: 17495 Updated by: ken@linux.ie Reported By: hm2k at php dot net Summary: _connect function no error if no $nicServer Status: Open Type: Bug Package: Net_Whois Package Version: SVN PHP Version: 5.3.2 -Assigned To: +Assigned To: kguest Roadmap Versions: New Comment: -Assigned To: +Assigned To: kguest Previous Comments: ------------------------------------------------------------------------ [2010-06-15 16:34:34] hm2k Description: ------------ The _connect() function does not produce an error if $nicServer is empty or null, instead it will attempt to make a connection first before it fails. Basic error checking on the $nicServer value would be a good idea. ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=17495&edit=1

« previous php.pear.bugs (#3944) next »