Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
openldap2.22971
0221-ITS-9424-fix-serialNumberAndIssuerSerialCh...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0221-ITS-9424-fix-serialNumberAndIssuerSerialCheck.patch of Package openldap2.22971
From a1b3d529c7cb26ca94ee4450a55773130c6ed9a4 Mon Sep 17 00:00:00 2001 From: Howard Chu <hyc@openldap.org> Date: Mon, 14 Dec 2020 19:03:27 +0000 Subject: [PATCH 221/224] ITS#9424 fix serialNumberAndIssuerSerialCheck --- servers/slapd/schema_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index f9200d362..00f0d3b8c 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -4291,7 +4291,7 @@ serialNumberAndIssuerSerialCheck( if ( in->bv_len < 3 ) return LDAP_INVALID_SYNTAX; /* no old format */ - if ( in->bv_val[0] != '{' && in->bv_val[in->bv_len-1] != '}' ) return LDAP_INVALID_SYNTAX; + if ( in->bv_val[0] != '{' || in->bv_val[in->bv_len-1] != '}' ) return LDAP_INVALID_SYNTAX; x.bv_val++; x.bv_len -= 2; -- 2.30.0
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