diff options
author | Noriko Hosoi <nhosoi@redhat.com> | 2010-03-11 11:10:48 -0800 |
---|---|---|
committer | Noriko Hosoi <nhosoi@redhat.com> | 2010-03-11 11:10:48 -0800 |
commit | f11afee0ca0c4039cebc0efe4388b95776b6da4b (patch) | |
tree | 3fa553f53f52b01df054d02d972b7d72914874c5 /ldap/servers/plugins/syntaxes | |
parent | be17b937b06eeb0822189951a6f63cfb87749e32 (diff) | |
download | ds-f11afee0ca0c4039cebc0efe4388b95776b6da4b.tar.gz ds-f11afee0ca0c4039cebc0efe4388b95776b6da4b.tar.xz ds-f11afee0ca0c4039cebc0efe4388b95776b6da4b.zip |
199923 - subtree search fails to find items under a db
containing special characters
https://bugzilla.redhat.com/show_bug.cgi?id=199923
Description: regression observed in the tests.
> as of March 04, 2010, this is happening again.
Fix Description:
dn.c: Based upon RFC 4514, the following characters in the RDN
values need to be escaped:
'+', ';', '<', '>', and '=' for the intermediate characters
'+', ';', '<', '>', '=', '#' and ' ' for leading characters
'+', ';', '<', '>', '=', and ' ' for trailing characters
validate.c: If an escaped character followed by another escaped
character, e.g., \#\<, the pointer was moved twice skipping '\'
before '<' and it makes the validation fail.
ldbm_add.c: a local variable addr was not initialized.
Diffstat (limited to 'ldap/servers/plugins/syntaxes')
-rw-r--r-- | ldap/servers/plugins/syntaxes/validate.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ldap/servers/plugins/syntaxes/validate.c b/ldap/servers/plugins/syntaxes/validate.c index d0da4be0..aab6d9c2 100644 --- a/ldap/servers/plugins/syntaxes/validate.c +++ b/ldap/servers/plugins/syntaxes/validate.c @@ -535,7 +535,6 @@ int rdn_validate( const char *begin, const char *end, const char **last ) } p++; } - p++; /* Only allow 'SUTF1' chars now. */ } else if (!IS_SUTF1(*p)) { rc = 1; |