|
From: | Taylor Boon |
Subject: | Bug in InetAddress::setIPAddress |
Date: | Thu, 8 Apr 2004 17:32:39 -0400 |
There seems to be a bug in InetAddress::setIPAddress. If the call to
inet_addr fails and returns INADDR_NONE, the address in the addr.sin_addr will
be set to 255.255.255.255. What should happen is that this is caught and
setIPAddress return false such that setAddress will call gethostbyname. |
[Prev in Thread] | Current Thread | [Next in Thread] |