[Bug libc/28931] hosts lookup broken for SUCCESS=CONTINUE and SUCCESS=MERGE
siddhesh at sourceware dot org
sourceware-bugzilla@sourceware.org
Wed Mar 2 08:58:15 GMT 2022
https://sourceware.org/bugzilla/show_bug.cgi?id=28931
--- Comment #2 from Siddhesh Poyarekar <siddhesh at sourceware dot org> ---
(In reply to Siddhesh Poyarekar from comment #0)
> 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.
Re-reading the manual, it looks like we require SUCCESS=merge to return lookup
failure for all but the groups database.
====
The @samp{merge} only applies to the @samp{success} status. It is
currently implemented for the @samp{group} database and its group
members field, @samp{gr_mem}. If specified for other databases, it
causes the lookup to fail (if the @var{status} matches).
====
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list