public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/768] New: nscd gives bad results for extremely long lines in /etc/hosts
@ 2005-02-26  1:16 roland at gnu dot org
  2005-02-26  1:19 ` [Bug libc/768] " cvs-commit at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: roland at gnu dot org @ 2005-02-26  1:16 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/768] nscd gives bad results for extremely long lines in /etc/hosts
  2005-02-26  1:16 [Bug libc/768] New: nscd gives bad results for extremely long lines in /etc/hosts roland at gnu dot org
  2005-02-26  1:19 ` [Bug libc/768] " cvs-commit at gcc dot gnu dot org
@ 2005-02-26  1:19 ` cvs-commit at gcc dot gnu dot org
  2005-03-15  8:03 ` jakub at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-26  1:19 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-26 01:19 -------
Subject: Bug 768

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-02-26 01:19:05

Modified files:
	nscd           : nscd_gethst_r.c 

Log message:
	2005-02-21  Jakub Jelinek  <jakub@redhat.com>
	
	[BZ #768]
	* nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
	NETDB_INTERNAL if buffer is too small.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nscd/nscd_gethst_r.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.30&r2=1.30.2.1


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-26 01:19 -------
Subject: Bug 768

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-02-26 01:19:02

Modified files:
	nscd           : grpcache.c pwdcache.c hstcache.c 

Log message:
	2005-02-21  Jakub Jelinek  <jakub@redhat.com>
	
	[BZ #768]
	* nscd/hstcache.c (INCR): Remove.
	(addhstbyX): Double buflen in each iteration rather than add INCR.
	* nscd/grpcache.c: Likewise.
	* nscd/pwdcache.c: Likewise.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nscd/grpcache.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.36&r2=1.36.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nscd/pwdcache.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.35&r2=1.35.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nscd/hstcache.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.31&r2=1.31.4.1



-- 


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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/768] nscd gives bad results for extremely long lines in /etc/hosts
  2005-02-26  1:16 [Bug libc/768] New: nscd gives bad results for extremely long lines in /etc/hosts roland at gnu dot org
@ 2005-02-26  1:19 ` cvs-commit at gcc dot gnu dot org
  2005-02-26  1:19 ` cvs-commit at gcc dot gnu dot org
  2005-03-15  8:03 ` jakub at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-26  1:19 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-26 01:19 -------
Subject: Bug 768

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-02-26 01:19:05

Modified files:
	nscd           : nscd_gethst_r.c 

Log message:
	2005-02-21  Jakub Jelinek  <jakub@redhat.com>
	
	[BZ #768]
	* nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
	NETDB_INTERNAL if buffer is too small.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nscd/nscd_gethst_r.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.30&r2=1.30.2.1


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-26 01:19 -------
Subject: Bug 768

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-02-26 01:19:02

Modified files:
	nscd           : grpcache.c pwdcache.c hstcache.c 

Log message:
	2005-02-21  Jakub Jelinek  <jakub@redhat.com>
	
	[BZ #768]
	* nscd/hstcache.c (INCR): Remove.
	(addhstbyX): Double buflen in each iteration rather than add INCR.
	* nscd/grpcache.c: Likewise.
	* nscd/pwdcache.c: Likewise.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nscd/grpcache.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.36&r2=1.36.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nscd/pwdcache.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.35&r2=1.35.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nscd/hstcache.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.31&r2=1.31.4.1



-- 


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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/768] nscd gives bad results for extremely long lines in /etc/hosts
  2005-02-26  1:16 [Bug libc/768] New: nscd gives bad results for extremely long lines in /etc/hosts roland at gnu dot org
  2005-02-26  1:19 ` [Bug libc/768] " cvs-commit at gcc dot gnu dot org
  2005-02-26  1:19 ` cvs-commit at gcc dot gnu dot org
@ 2005-03-15  8:03 ` jakub at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at redhat dot com @ 2005-03-15  8:03 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From jakub at redhat dot com  2005-03-15 08:03 -------
Fixed in CVS.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-03-15  8:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-26  1:16 [Bug libc/768] New: nscd gives bad results for extremely long lines in /etc/hosts roland at gnu dot org
2005-02-26  1:19 ` [Bug libc/768] " cvs-commit at gcc dot gnu dot org
2005-02-26  1:19 ` cvs-commit at gcc dot gnu dot org
2005-03-15  8:03 ` jakub at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).