Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:GA
openldap2.22971
0207-ITS-9370-check-for-equality-rule-on-old_rd...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0207-ITS-9370-check-for-equality-rule-on-old_rdn.patch of Package openldap2.22971
From e26672d296d67457d77a49c482e900f416b15dfd Mon Sep 17 00:00:00 2001 From: Howard Chu <hyc@openldap.org> Date: Mon, 19 Oct 2020 14:03:41 +0100 Subject: [PATCH] ITS#9370 check for equality rule on old_rdn Just skip normalization if there's no equality rule. We accept DNs without equality rules already. --- servers/slapd/modrdn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/modrdn.c b/servers/slapd/modrdn.c index 77eaa68..6f176e8 100644 --- a/servers/slapd/modrdn.c +++ b/servers/slapd/modrdn.c @@ -494,7 +494,7 @@ slap_modrdn2mods( mod_tmp->sml_values = ( BerVarray )ch_malloc( 2 * sizeof( struct berval ) ); ber_dupbv( &mod_tmp->sml_values[0], &old_rdn[d_cnt]->la_value ); mod_tmp->sml_values[1].bv_val = NULL; - if( desc->ad_type->sat_equality->smr_normalize) { + if( desc->ad_type->sat_equality && desc->ad_type->sat_equality->smr_normalize) { mod_tmp->sml_nvalues = ( BerVarray )ch_malloc( 2 * sizeof( struct berval ) ); (void) (*desc->ad_type->sat_equality->smr_normalize)( SLAP_MR_EQUALITY|SLAP_MR_VALUE_OF_ASSERTION_SYNTAX, -- 2.29.2
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