Bug 512130
| Summary: | nagios status.cgi Segmentaion fault | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Tomas Pelka <tpelka> | ||||
| Component: | nagios | Assignee: | Peter Lemenkov <lemenkov> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | el5 | CC: | mmcgrath, redhat-bugzilla, redhat, rzhou, sebastian.gosenheimer, shawn.starr, wtogami, xavier | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | nagios-2.12-10.el4 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2010-09-27 16:59:06 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Tomas Pelka
2009-07-16 14:03:13 UTC
Created attachment 353981 [details]
status.cgi output
Adding status.cgi output till ends witj seg fault.
This bug is currently marked as affecting Fedora 8; if that is accurate, then you will need to upgrade to Fedora 10 or 11 (8 is no longer supported). The "el5" in nagios-2.12-6.el5 indicate Enterprise Linux 5. If you are running Fedora, you'll want to run a version which has been built for Fedora (in which case "rpm -e nagios" and then "yum install nagios" should work, if you are running a recent version of Fedora). The latest version is 3.0.6-3.fc11, which may have already fixed this problem. If you are running Enterprise Linux, you'll want to change the Product and Version this bug is filed against. Thanks! --- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers Actually I'm running CentOS 5.3. Reproducible to me. Any progress here? Here is the upstream "fix" to the problem: http://nagios.cvs.sourceforge.net/viewvc/nagios/nagios/cgi/cgiutils.c?r1=1.80&r2=1.81 In patch form against the 2.12: diff -ur nagios-2.12.orig/cgi/cgiutils.c nagios-2.12/cgi/cgiutils.c --- nagios-2.12.orig/cgi/cgiutils.c 2009-12-11 04:40:40.864087315 -0500 +++ nagios-2.12/cgi/cgiutils.c 2009-12-11 04:41:07.750091589 -0500 @@ -1300,6 +1300,9 @@ static int i = 0; char* str = encoded_url_string[i]; + if(input==NULL) + return '\x0'; + len=(int)strlen(input); output_len=(int)sizeof(encoded_url_string[0]); Reassigning to new owners. nagios-2.12-10.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/nagios-2.12-10.el5 nagios-2.12-10.el4 has been submitted as an update for Fedora EPEL 4. https://admin.fedoraproject.org/updates/nagios-2.12-10.el4 nagios-2.12-10.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update nagios'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/nagios-2.12-10.el5 nagios-2.12-10.el4 has been pushed to the Fedora EPEL 4 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update nagios'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/nagios-2.12-10.el4 nagios-2.12-10.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. nagios-2.12-10.el4 has been pushed to the Fedora EPEL 4 stable repository. If problems still persist, please make note of it in this bug report. |