Univention Bugzilla – Attachment 10137 Details for
Bug 49930
Openldap syntax evaluation of attribute preferredDeliveryMethod broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for DeliveryMethodValidate
99_preferredDeliveryMethod_syntax.patch (text/plain), 1.40 KB, created by
Julia Bremer
on 2019-07-29 17:24:03 CEST
(
hide
)
Description:
patch for DeliveryMethodValidate
Filename:
MIME Type:
Creator:
Julia Bremer
Created:
2019-07-29 17:24:03 CEST
Size:
1.40 KB
patch
obsolete
>diff -Nur openldap-2.4.45+dfsg.o/debian/patches/99_preferredDeliveryMethod_syntax.patch openldap-2.4.45+dfsg/debian/patches/99_preferredDeliveryMethod_syntax.patch >--- openldap-2.4.45+dfsg.o/debian/patches/99_preferredDeliveryMethod_syntax.patch 1970-01-01 01:00:00.000000000 +0100 >+++ openldap-2.4.45+dfsg/debian/patches/99_preferredDeliveryMethod_syntax.patch 2019-07-29 14:41:34.792000000 +0200 >@@ -0,0 +1,27 @@ >+--- openldap-2.4.45+dfsg.orig/servers/slapd/schema_init.c >++++ openldap-2.4.45+dfsg/servers/slapd/schema_init.c >+@@ -5943,18 +5943,18 @@ again: >+ if( BER_BVISEMPTY( &tmp ) ) return LDAP_SUCCESS; >+ >+ while( !BER_BVISEMPTY( &tmp ) && ( tmp.bv_val[0] == ' ' ) ) { >+- tmp.bv_len++; >+- tmp.bv_val--; >++ tmp.bv_len--; >++ tmp.bv_val++; >+ } >+ if( !BER_BVISEMPTY( &tmp ) && ( tmp.bv_val[0] == '$' ) ) { >+- tmp.bv_len++; >+- tmp.bv_val--; >++ tmp.bv_len--; >++ tmp.bv_val++; >+ } else { >+ return LDAP_INVALID_SYNTAX; >+ } >+ while( !BER_BVISEMPTY( &tmp ) && ( tmp.bv_val[0] == ' ' ) ) { >+- tmp.bv_len++; >+- tmp.bv_val--; >++ tmp.bv_len--; >++ tmp.bv_val++; >+ } >+ >+ goto again; >diff -Nur openldap-2.4.45+dfsg.o/debian/patches/series openldap-2.4.45+dfsg/debian/patches/series >--- openldap-2.4.45+dfsg.o/debian/patches/series 2019-07-29 12:01:09.548000000 +0200 >+++ openldap-2.4.45+dfsg/debian/patches/series 2019-07-29 14:41:49.804000000 +0200 >@@ -1000,0 +1000,1 @@ >+99_preferredDeliveryMethod_syntax.patch
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 49930
:
10136
| 10137