summaryrefslogtreecommitdiffstats
path: root/ldap/servers/plugins/syntaxes
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2010-03-11 11:10:48 -0800
committerNoriko Hosoi <nhosoi@redhat.com>2010-03-11 11:10:48 -0800
commitf11afee0ca0c4039cebc0efe4388b95776b6da4b (patch)
tree3fa553f53f52b01df054d02d972b7d72914874c5 /ldap/servers/plugins/syntaxes
parentbe17b937b06eeb0822189951a6f63cfb87749e32 (diff)
downloadds-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.c1
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;