[Bug libc/23679] Segmentation fault in gethostid.c

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Thu Sep 20 09:21:00 GMT 2018


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

--- Comment #9 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to Mingli from comment #8)
> Created attachment 11266 [details]
> nsswitch.conf
> 
> On 2018年09月19日 19:35, fweimer at redhat dot com wrote:
> > https://sourceware.org/bugzilla/show_bug.cgi?id=23679
> >
> > --- Comment #6 from Florian Weimer <fweimer at redhat dot com> ---
> > (In reply to Andreas Schwab from comment #4)
> >> You just need to set the hostname to something unresolvable.
> >
> > I think it depends on how the NSS module reports this error condition.  I've
> > been trying to reproduce it with nss_files, but that hasn't been successful so
> > far.
> 
> What does /etc/nsswitch.conf look like? In my env, I can reproduce it 
> 100% and attach the nsswitch.conf for your reference.

The test I posted uses the equivalent of:

hosts: files

<https://sourceware.org/ml/libc-alpha/2018-09/msg00336.html>

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


More information about the Glibc-bugs mailing list