Commit 84097fec authored by Julia Bremer's avatar Julia Bremer Committed by Quanah Gibson-Mount
Browse files

ITS#9067 fix syntax evaluation of preferredDeliveryMethod

parent ee15d407
......@@ -5954,18 +5954,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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment