close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23445 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -580,6 +580,7 @@ change_password_loop (krb5_context context,
|
||||
sock = socket (a->ai_family, a->ai_socktype, a->ai_protocol);
|
||||
if (sock < 0)
|
||||
continue;
|
||||
rk_cloexec(sock);
|
||||
|
||||
ret = connect(sock, a->ai_addr, a->ai_addrlen);
|
||||
if (ret < 0) {
|
||||
|
Reference in New Issue
Block a user