public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/1080] New: possible buffer misalignment in nscd; possible poll error on signal to nscd; bogus pointer in munmap in nscd
@ 2005-07-18 1:14 roland at gnu dot org
2005-07-18 8:02 ` [Bug libc/1080] " 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-07-18 1:14 UTC (permalink / raw)
To: glibc-bugs
This trunk patch should go into the 2.3 branch:
2005-07-13 Ulrich Drepper <drepper@redhat.com>
* nscd/nscd_helper.c: Add a few __builtin_expect.
* 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.
--
Summary: possible buffer misalignment in nscd; possible poll
error on signal to nscd; bogus pointer in munmap in nscd
Product: glibc
Version: 2.3.5
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 852
nThis:
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/1080] possible buffer misalignment in nscd; possible poll error on signal to nscd; bogus pointer in munmap in nscd
2005-07-18 1:14 [Bug libc/1080] New: possible buffer misalignment in nscd; possible poll error on signal to nscd; bogus pointer in munmap in nscd roland at gnu dot org
2005-07-18 8:02 ` [Bug libc/1080] " cvs-commit at gcc dot gnu dot org
@ 2005-07-18 8:02 ` cvs-commit at gcc dot gnu dot org
2005-07-19 3:30 ` roland at gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-07-18 8:02 UTC (permalink / raw)
To: glibc-bugs
------- 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/1080] possible buffer misalignment in nscd; possible poll error on signal to nscd; bogus pointer in munmap in nscd
2005-07-18 1:14 [Bug libc/1080] New: possible buffer misalignment in nscd; possible poll error on signal to nscd; bogus pointer in munmap in nscd roland at gnu dot org
@ 2005-07-18 8:02 ` cvs-commit at gcc dot gnu dot org
2005-07-18 8:02 ` cvs-commit at gcc dot gnu dot org
2005-07-19 3:30 ` roland at gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-07-18 8:02 UTC (permalink / raw)
To: glibc-bugs
------- 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/1080] possible buffer misalignment in nscd; possible poll error on signal to nscd; bogus pointer in munmap in nscd
2005-07-18 1:14 [Bug libc/1080] New: possible buffer misalignment in nscd; possible poll error on signal to nscd; bogus pointer in munmap in nscd roland at gnu dot org
2005-07-18 8:02 ` [Bug libc/1080] " cvs-commit at gcc dot gnu dot org
2005-07-18 8:02 ` cvs-commit at gcc dot gnu dot org
@ 2005-07-19 3:30 ` roland at gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: roland at gnu dot org @ 2005-07-19 3:30 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From roland at gnu dot org 2005-07-19 03:30 -------
This fix is now in the 2.3 branch as well as the trunk, and the problem should
be resolved as of the 2.3.6 release.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-07-19 3:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-18 1:14 [Bug libc/1080] New: possible buffer misalignment in nscd; possible poll error on signal to nscd; bogus pointer in munmap in nscd roland at gnu dot org
2005-07-18 8:02 ` [Bug libc/1080] " cvs-commit at gcc dot gnu dot org
2005-07-18 8:02 ` cvs-commit at gcc dot gnu dot org
2005-07-19 3:30 ` roland at gnu dot org
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).