diff options
author | michen <none@none> | 2006-10-15 16:43:04 -0700 |
---|---|---|
committer | michen <none@none> | 2006-10-15 16:43:04 -0700 |
commit | c70a8a3b92fb0488ef2ca1ae9e282c8b86ffa6d1 (patch) | |
tree | cbc127e30568c601314200883a354a11fe07395f /usr/src/lib/nsswitch/files/common | |
parent | 06e1a7147edd272b7296f208141627a5b1191731 (diff) | |
download | illumos-gate-c70a8a3b92fb0488ef2ca1ae9e282c8b86ffa6d1.tar.gz |
6477912 /etc/hosts name lookup sporadically fail on sparks based builds
6479036 nscd/nss_nisplus.so.1 core dumps when processing a getservent request
6481313 nscd drops core during DNS resolution
6481603 Installing SUNWCrnet had complains about nscd due to missing SUNWgss/SUNWgssc
Diffstat (limited to 'usr/src/lib/nsswitch/files/common')
-rw-r--r-- | usr/src/lib/nsswitch/files/common/gethostent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/lib/nsswitch/files/common/gethostent.c b/usr/src/lib/nsswitch/files/common/gethostent.c index 37914ed4fa..f7cd99af44 100644 --- a/usr/src/lib/nsswitch/files/common/gethostent.c +++ b/usr/src/lib/nsswitch/files/common/gethostent.c @@ -511,6 +511,7 @@ __nss_files_XY_hostbyname(be, args, filter, type) ap, alen); buffer += alen; buflen -= alen; + args->returnlen += alen; alias_end += alen; } @@ -541,12 +542,11 @@ __nss_files_XY_hostbyname(be, args, filter, type) buffer += cplen; *buffer = '\0'; buflen -= cplen; + args->returnlen += cplen; if (alias_end == NULL) alias_end = buffer; } - args->returnlen += linelen; - /* * If this is the first one, save the canonical * name for future matches and continue. |