|
|
|
1 |
--- openldap-2.4.45+dfsg.orig/servers/slapd/schema_init.c |
2 |
+++ openldap-2.4.45+dfsg/servers/slapd/schema_init.c |
3 |
@@ -5943,18 +5943,18 @@ again: |
4 |
if( BER_BVISEMPTY( &tmp ) ) return LDAP_SUCCESS; |
5 |
|
6 |
while( !BER_BVISEMPTY( &tmp ) && ( tmp.bv_val[0] == ' ' ) ) { |
7 |
- tmp.bv_len++; |
8 |
- tmp.bv_val--; |
9 |
+ tmp.bv_len--; |
10 |
+ tmp.bv_val++; |
11 |
} |
12 |
if( !BER_BVISEMPTY( &tmp ) && ( tmp.bv_val[0] == '$' ) ) { |
13 |
- tmp.bv_len++; |
14 |
- tmp.bv_val--; |
15 |
+ tmp.bv_len--; |
16 |
+ tmp.bv_val++; |
17 |
} else { |
18 |
return LDAP_INVALID_SYNTAX; |
19 |
} |
20 |
while( !BER_BVISEMPTY( &tmp ) && ( tmp.bv_val[0] == ' ' ) ) { |
21 |
- tmp.bv_len++; |
22 |
- tmp.bv_val--; |
23 |
+ tmp.bv_len--; |
24 |
+ tmp.bv_val++; |
25 |
} |
26 |
|
27 |
goto again; |