[Bug libc/28931] New: hosts lookup broken for SUCCESS=CONTINUE and SUCCESS=MERGE

siddhesh at sourceware dot org sourceware-bugzilla@sourceware.org
Tue Mar 1 02:33:50 GMT 2022


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

            Bug ID: 28931
           Summary: hosts lookup broken for SUCCESS=CONTINUE and
                    SUCCESS=MERGE
           Product: glibc
           Version: 2.35
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: siddhesh at sourceware dot org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

SUCCESS=CONTINUE should discard any results so far and try the next NSS module.
 The current implementation in gaih_inet however does not do that. 
SUCCESS=MERGE should merge results from the previous and next module but that
is broken with gethostbyname4_r, since it tries to allocate both into the same
scratch buffer, overwriting the previous results.

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


More information about the Glibc-bugs mailing list