Red Hat Bugzilla – Bug 216834
unchecked malloc in sunrpc/svc_run.c
Last modified: 2007-11-30 17:07:37 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:220.127.116.11) Gecko/20060911 Red Hat/18.104.22.168-0.1.el4 Firefox/22.214.171.124 pango-text
Description of problem:
my_pollfd malloc() is unchecked, which could result in a segmentation fault.
Version-Release number of selected component (if applicable):
all current RHEL and Fedora versions
Steps to Reproduce:
The bug is not easily reproducible on demand, but could be responsible for some unexplained ypbind crashes.
An ill-timed malloc() failure would cause a segmentation fault.
The failure should be caught and reported, and the function should return gracefully to permit the calling application to handle it.
This was discovered by code inspection while troubleshooting ypbind.
Created attachment 141875 [details]
patch to catch and report malloc failure and return gracefully
This patch has also been submitted upstream:
Should be fixed in glibc-2.5-6 in dist-5E.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
Would this change be causing bug#218036. The changelog for glibc-2.5.90-8 is
QE ack for RHEL5.
A package has been built which should help the problem described in
this bug report. This report is therefore being closed with a resolution
of CURRENTRELEASE. You may reopen this bug report if the solution does
not work for you.