From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060911 Red Hat/1.5.0.7-0.1.el4 Firefox/1.5.0.7 pango-text Description of problem: Reported upstream: http://sources.redhat.com/bugzilla/show_bug.cgi?id=3559 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 How reproducible: Didn't try Steps to Reproduce: The bug is not easily reproducible on demand, but could be responsible for some unexplained ypbind crashes. Actual Results: An ill-timed malloc() failure would cause a segmentation fault. Expected Results: The failure should be caught and reported, and the function should return gracefully to permit the calling application to handle it. Additional info: 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: http://sources.redhat.com/bugzilla/show_bug.cgi?id=3559
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 inclusion.
Would this change be causing bug#218036. The changelog for glibc-2.5.90-8 is rather short.
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.