Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:Update
pacemaker.26925
bsc#1187414-0001-Fix-libcrmcommon-Correctly-han...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bsc#1187414-0001-Fix-libcrmcommon-Correctly-handle-case-sensitive-ids.patch of Package pacemaker.26925
From a038104c4abccba180431abf4638a2368cb7dfb1 Mon Sep 17 00:00:00 2001 From: Emil Penchev <emil.penchev@suse.com> Date: Thu, 1 Jul 2021 16:04:30 +0300 Subject: [PATCH] Fix: libcrmcommon: Correctly handle case-sensitive ids of xml objects when changing a value. --- lib/common/xml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: pacemaker-2.0.4+20200616.2deceaa3a/lib/common/xml.c =================================================================== --- pacemaker-2.0.4+20200616.2deceaa3a.orig/lib/common/xml.c +++ pacemaker-2.0.4+20200616.2deceaa3a/lib/common/xml.c @@ -4223,10 +4223,10 @@ update_xml_child(xmlNode * child, xmlNod CRM_CHECK(child != NULL, return FALSE); CRM_CHECK(to_update != NULL, return FALSE); - if (safe_str_neq(crm_element_name(to_update), crm_element_name(child))) { + if (!crm_str_eq(crm_element_name(to_update), crm_element_name(child), TRUE)) { can_update = FALSE; - } else if (safe_str_neq(ID(to_update), ID(child))) { + } else if (!crm_str_eq(ID(to_update), ID(child), TRUE)) { can_update = FALSE; } else if (can_update) {
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