Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
04ce28cf
Commit
04ce28cf
authored
Dec 28, 2001
by
Pierangelo Masarati
Browse files
a couple of comments; will require special DN handling ...
parent
1a349907
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/aclparse.c
View file @
04ce28cf
...
...
@@ -1189,6 +1189,12 @@ acl_regex_normalized_dn(
for
(
p
=
str
;
p
&&
p
[
0
];
p
++
)
{
/* escape */
if
(
p
[
0
]
==
'\\'
)
{
/*
* if escaping a hex pair we should
* increment p twice; however, in that
* case the second hex number does
* no harm
*/
p
++
;
}
...
...
@@ -1196,6 +1202,10 @@ acl_regex_normalized_dn(
if
(
p
[
1
]
==
' '
)
{
char
*
q
;
/*
* too much space should be
* an error if we are pedantic
*/
for
(
q
=
&
p
[
2
];
q
[
0
]
==
' '
;
q
++
)
{
/* DO NOTHING */
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment