mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-12 22:36:57 +02:00
program dumps core when getpeername() returns EINVAL (#1085)
This commit is contained in:
@@ -132,7 +132,6 @@ int zmq::get_peer_ip_address (fd_t sockfd_, std::string &ip_addr_)
|
||||
if (rc == -1) {
|
||||
errno_assert (errno != EBADF &&
|
||||
errno != EFAULT &&
|
||||
errno != EINVAL &&
|
||||
errno != ENOTSOCK);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user