This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Do not fail if one of the two responses to AF_UNSPEC fails (BZ #14308)
- From: Andreas Schwab <schwab at suse dot de>
- To: Siddhesh Poyarekar <siddhesh at redhat dot com>
- Cc: carlos at redhat dot com, libc-alpha at sourceware dot org
- Date: Tue, 08 Jul 2014 11:51:40 +0200
- Subject: Re: [PATCH] Do not fail if one of the two responses to AF_UNSPEC fails (BZ #14308)
- Authentication-results: sourceware.org; auth=none
- References: <20140415162902 dot GA8469 at spoyarek dot pnq dot redhat dot com> <mvmr41wtcc2 dot fsf at hawking dot suse dot de>
There is also a third place in res_query.c that should probably get the
same change:
/*
* If the query has not already been tried as is then try it
* unless RES_NOTLDQUERY is set and there were no dots.
*/
if ((dots || !searched || (statp->options & RES_NOTLDQUERY) == 0)
&& !(tried_as_is || root_on_list)) {
ret = __libc_res_nquerydomain(statp, name, NULL, class, type,
answer, anslen, answerp,
answerp2, nanswerp2, resplen2,
answerp2_malloced);
if (ret > 0)
return (ret);
}
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."