This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nis/3559] New: unchecked malloc in glibc/sunrpc/svc_run.c
- From: "csnook at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 22 Nov 2006 05:19:24 -0000
- Subject: [Bug nis/3559] New: unchecked malloc in glibc/sunrpc/svc_run.c
- Reply-to: sourceware-bugzilla at sourceware dot org
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.