[Bug network/20477] New: incorrect double-checked locking related to _res_hconf

triegel at redhat dot com sourceware-bugzilla@sourceware.org
Wed Aug 17 10:14:00 GMT 2016


https://sourceware.org/bugzilla/show_bug.cgi?id=20477

            Bug ID: 20477
           Summary: incorrect double-checked locking related to _res_hconf
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: network
          Assignee: unassigned at sourceware dot org
          Reporter: triegel at redhat dot com
  Target Milestone: ---

There are users of _res_hconf that try to load _res_hconf.initialized to
determine whether they can skip calling _res_hconf_init.  This is incorrect
double-checked locking.  They should just call _res_hconf_init all the time.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list