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

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).