Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
pacemaker.8750
pacemaker-libcib-xpath-result-empty.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-libcib-xpath-result-empty.patch of Package pacemaker.8750
commit aedb43e80ff3ebc592956d3524f38bffc2daf3ef Author: Ken Gaillot <kgaillot@redhat.com> Date: Mon Oct 9 16:47:28 2017 -0500 Low: libcib: ensure xpath result isn't empty Shouldn't be possible, but makes static analysis happy diff --git a/lib/cib/cib_attrs.c b/lib/cib/cib_attrs.c index 02d1f65e0..8287a44aa 100644 --- a/lib/cib/cib_attrs.c +++ b/lib/cib/cib_attrs.c @@ -416,6 +416,7 @@ get_uuid_from_result(xmlNode *result, char **uuid, int *is_remote) tag = (const char *) (result->name); if (safe_str_eq(tag, "xpath-query")) { result = __xml_first_child(result); + CRM_CHECK(result != NULL, return rc); tag = (const char *) (result->name); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor