Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
openldap2-client.29147
0208-ITS-9384-remove-assert-in-obsolete-csnNorm...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0208-ITS-9384-remove-assert-in-obsolete-csnNormalize23.patch of Package openldap2-client.29147
From 6b445fe7a1f3e456d4bbe51ea9ebd4eb92b2a2d0 Mon Sep 17 00:00:00 2001 From: Howard Chu <hyc@openldap.org> Date: Mon, 2 Nov 2020 16:01:14 +0000 Subject: [PATCH 2/2] ITS#9384 remove assert in obsolete csnNormalize23() --- servers/slapd/schema_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 06f3c0902..9e0a16103 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -5315,8 +5315,8 @@ csnNormalize23( } *ptr = '\0'; - assert( ptr == &bv.bv_val[bv.bv_len] ); - if ( csnValidate( syntax, &bv ) != LDAP_SUCCESS ) { + if ( ptr != &bv.bv_val[bv.bv_len] || + csnValidate( syntax, &bv ) != LDAP_SUCCESS ) { return LDAP_INVALID_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