This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/768] New: nscd gives bad results for extremely long lines in /etc/hosts


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]