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/20477] New: incorrect double-checked locking related to _res_hconf


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.

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