This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/21668] New: resolv: res_init cross-thread broadcast introduces race conditions
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 23 Jun 2017 20:19:00 +0000
- Subject: [Bug network/21668] New: resolv: res_init cross-thread broadcast introduces race conditions
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21668
Bug ID: 21668
Summary: resolv: res_init cross-thread broadcast introduces
race conditions
Product: glibc
Version: 2.26
Status: NEW
Severity: normal
Priority: P2
Component: network
Assignee: unassigned at sourceware dot org
Reporter: fweimer at redhat dot com
Target Milestone: ---
Flags: security-
The __res_initstamp mechanism can trigger a resolv.conf reload through
__res_maybe_init after an application (or getaddrinfo) has changed
_res.options. The reload will incorrect revert the change to _res.options.
I think the cross-thread broadcast is invalid and should go away in favor of
automated resolv.conf reloading (bug 984).
--
You are receiving this mail because:
You are on the CC list for the bug.