mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
Fix invalid file descriptor reuse while sending DNS query (BZ #15946)
This commit is contained in:
@@ -1410,6 +1410,7 @@ send_dg(res_state statp,
|
||||
retval = reopen (statp, terrno, ns);
|
||||
if (retval <= 0)
|
||||
return retval;
|
||||
pfd[0].fd = EXT(statp).nssocks[ns];
|
||||
}
|
||||
}
|
||||
goto wait;
|
||||
|
Reference in New Issue
Block a user