| Summary: | cman_tool nodes -F addr segfaults when qdisk is present | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Josef Zimek <pzimek> | ||||||
| Component: | cluster | Assignee: | Christine Caulfield <ccaulfie> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 6.8 | CC: | ccaulfie, cluster-maint, mjuricek, rhayden, rpeterso, teigland | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | cluster-3.0.12.1-80.el6 | Doc Type: | If docs needed, set a value | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2017-03-21 09:26:44 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
|
Description
Josef Zimek
2016-10-14 12:43:51 UTC
Created attachment 1210565 [details]
Patch
I'm quite impressed this bug lasted all the way to RHEL 6.8.
an obvious and easy fix, of course.
Patch is upstream(FWIW)
commit b5c85f77a6e4dfd4237c12d4002464a429e5b59c
Author: Christine Caulfield <ccaulfie>
Date: Fri Oct 14 15:28:42 2016 +0100
cman_tool: Don't segfault when taking address of qdevice
If cman_tool nodes -F addr is called when qdevice is active then
cman_tool segfaults quite spectacularly when it tries to print
the address of the qdevice 'node'
Signed-off-by: Christine Caulfield <ccaulfie>
Coverity spotted a bug in this patch that needs a little more thought. Created attachment 1219675 [details]
Patch to fix coverity (actually clang) error (and more)
This patch (on top of the previous one) fixes the clang-reported error and its causes
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2017-0601.html |