[PATCH] [BZ #20900] Call __res_vinit if _PATH_RESCONF is changed

H.J. Lu hjl.tools@gmail.com
Thu Dec 1 19:23:00 GMT 2016


On Thu, Dec 1, 2016 at 11:02 AM, Joseph Myers <joseph@codesourcery.com> wrote:
> On Thu, 1 Dec 2016, H.J. Lu wrote:
>
>> The content of _PATH_RESCONF may change over time with DHCP.
>> __res_maybe_init should check if _PATH_RESCONF is changed.  Otherwise
>> a long-running process will get wrong DNS results if _PATH_RESCONF is
>> changed by DHCP.
>>
>> Any comments?
>
> This bug is either a duplicate of or related to bug 984.  There are
> various patches out there, e.g. one in Debian, and also claims of problems
> with those patches.

It looks very similar.  Does anyone have a link to Debian's patch?


-- 
H.J.



More information about the Libc-alpha mailing list