This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nis/11000] New: _nss_nis_gethostbyname4_r: errnop and herrnop are not always set
- From: "aurelien at aurel32 dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 22 Nov 2009 23:31:40 -0000
- Subject: [Bug nis/11000] New: _nss_nis_gethostbyname4_r: errnop and herrnop are not always set
- Reply-to: sourceware-bugzilla at sourceware dot org
In case yp_get_default_domain() fails, _nss_nis_gethostbyname4_r() returns
without setting errnop and herrnop, and the value herrno from getaddrinfo() is
then uninitialized. The following tests on this value therefore depends on an
initialized value.
--
Summary: _nss_nis_gethostbyname4_r: errnop and herrnop are not
always set
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: nis
AssignedTo: kukuk at suse dot de
ReportedBy: aurelien at aurel32 dot net
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: x86_64-linux-gnu
GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=11000
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.