public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nis/3559] New: unchecked malloc in glibc/sunrpc/svc_run.c
@ 2006-11-22  5:19 csnook at redhat dot com
  2006-11-22  5:24 ` [Bug nis/3559] " csnook at redhat dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: csnook at redhat dot com @ 2006-11-22  5:19 UTC (permalink / raw)
  To: glibc-bugs

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.


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

end of thread, other threads:[~2007-02-17  9:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-22  5:19 [Bug nis/3559] New: unchecked malloc in glibc/sunrpc/svc_run.c csnook at redhat dot com
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

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