This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug network/21668] New: resolv: res_init cross-thread broadcast introduces race conditions


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]