public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "csnook at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sources.redhat.com
Subject: [Bug nis/3559] New: unchecked malloc in glibc/sunrpc/svc_run.c
Date: Wed, 22 Nov 2006 05:19:00 -0000	[thread overview]
Message-ID: <20061122051923.3559.csnook@redhat.com> (raw)

malloc result in glibc/sunrpc/svc_run.c is used without being checked:

62      my_pollfd = malloc (sizeof (struct pollfd) * svc_max_pollfd);
63      for (i = 0; i < svc_max_pollfd; ++i)
64	{
65	  my_pollfd[i].fd = svc_pollfd[i].fd;

This was discovered by code inspection while troubleshooting ypbind, and is
unchanged in CVS.

-- 
           Summary: unchecked malloc in glibc/sunrpc/svc_run.c
           Product: glibc
           Version: 2.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nis
        AssignedTo: kukuk at suse dot de
        ReportedBy: csnook at redhat dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=3559

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


             reply	other threads:[~2006-11-22  5:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-22  5:19 csnook at redhat dot com [this message]
2006-11-22  5:24 ` [Bug nis/3559] " csnook at redhat dot com
2006-11-22  7:52 ` jakub at redhat dot com
2006-11-22  8:13 ` csnook at redhat dot com
2006-11-27 23:02 ` drepper at redhat dot com
2007-01-12 16:59 ` cvs-commit at gcc dot gnu dot org
2007-02-17  9:11 ` drepper at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061122051923.3559.csnook@redhat.com \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).