2 # Based on the following commit:
4 # commit f9d2d03254a58d92635a311a42253eeed5a40a47
5 # Author: Andreas Schwab <schwab@suse.de>
6 # Date: Mon May 26 18:01:31 2014 +0200
8 # Fix invalid file descriptor reuse while sending DNS query (BZ #15946)
10 # 2014-06-03 Andreas Schwab <schwab@suse.de>
13 # * resolv/res_send.c (send_dg): Reload file descriptor after
16 diff --git a/resolv/res_send.c b/resolv/res_send.c
17 index 3273d55..af42b8a 100644
18 --- a/resolv/res_send.c
19 +++ b/resolv/res_send.c
20 @@ -1410,6 +1410,7 @@ send_dg(res_state statp,
21 retval = reopen (statp, terrno, ns);
24 + pfd[0].fd = EXT(statp).nssocks[ns];