This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/1080] possible buffer misalignment in nscd; possible poll error on signal to nscd; bogus pointer in munmap in nscd
- From: "cvs-commit at gcc dot gnu dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 18 Jul 2005 08:02:03 -0000
- Subject: [Bug libc/1080] possible buffer misalignment in nscd; possible poll error on signal to nscd; bogus pointer in munmap in nscd
- References: <20050718011442.1080.roland@gnu.org>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-18 08:01 -------
Subject: Bug 1080
CVSROOT: /cvs/glibc
Module name: libc
Branch: glibc-2_3-branch
Changes by: roland@sources.redhat.com 2005-07-18 08:01:46
Modified files:
nscd : nscd_helper.c
Log message:
2005-07-13 Ulrich Drepper <drepper@redhat.com>
* nscd/nscd_helper.c: Add a few __builtin_expect.
[BZ #1080]
* nscd/connections.c (send_ro_fd): Make sure BUF is aligned correctly.
* nscd/nscd_helper.c (wait_on_socket): New function.
(get_mapping): Use wait_on_socket instead of poll. The former handles
EINTR of poll correctly.
(__nscd_open_socket): Likewise.
(get_mapping): Make sure BUF is aligned correctly.
(get_mapping): Use munmap on correct pointer.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nscd/nscd_helper.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.8.2.2&r2=1.8.2.3
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-18 08:02 -------
Subject: Bug 1080
CVSROOT: /cvs/glibc
Module name: libc
Branch: glibc-2_3-branch
Changes by: roland@sources.redhat.com 2005-07-18 08:01:49
Modified files:
nscd : connections.c
Log message:
2005-07-13 Ulrich Drepper <drepper@redhat.com>
[BZ #1080]
* nscd/connections.c (send_ro_fd): Make sure BUF is aligned correctly.
* nscd/nscd_helper.c (wait_on_socket): New function.
(get_mapping): Use wait_on_socket instead of poll. The former handles
EINTR of poll correctly.
(__nscd_open_socket): Likewise.
(get_mapping): Make sure BUF is aligned correctly.
(get_mapping): Use munmap on correct pointer.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nscd/connections.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.64.2.3&r2=1.64.2.4
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=1080
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.