1
0
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:
Andreas Schwab
2014-05-26 18:01:31 +02:00
parent 71840409ea
commit f9d2d03254
3 changed files with 17 additions and 10 deletions

View File

@@ -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;