This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/768] New: nscd gives bad results for extremely long lines in /etc/hosts
- From: "roland at gnu dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 26 Feb 2005 01:16:29 -0000
- Subject: [Bug libc/768] New: nscd gives bad results for extremely long lines in /etc/hosts
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
This trunk change is needed on the 2.3 branch.
2005-02-21 Jakub Jelinek <jakub@redhat.com>
* nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
NETDB_INTERNAL if buffer is too small.
* nscd/hstcache.c (INCR): Remove.
(addhstbyX): Double buflen in each iteration rather than add INCR.
* nscd/grpcache.c: Likewise.
* nscd/pwdcache.c: Likewise.
--
Summary: nscd gives bad results for extremely long lines in
/etc/hosts
Product: glibc
Version: 2.3.4
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: roland at gnu dot org
ReportedBy: roland at gnu dot org
CC: glibc-bugs at sources dot redhat dot com
OtherBugsDependingO 724
nThis:
http://sources.redhat.com/bugzilla/show_bug.cgi?id=768
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.