This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nis/3559] New: unchecked malloc in glibc/sunrpc/svc_run.c


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]