bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in InetAddress::setIPAddress


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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]