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
Joe Martin
OpenLDAP
Commits
919a0f5b
Commit
919a0f5b
authored
Sep 10, 2013
by
Pierangelo Masarati
Browse files
ITS#7687: password modify can muck with controls (quick fix)
parent
16f8b090
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-ldap/chain.c
View file @
919a0f5b
...
...
@@ -196,12 +196,13 @@ chaining_control_remove(
* added by the chain overlay, so it's the only one we explicitly
* free */
if
(
op
->
o_ctrls
!=
oldctrls
)
{
assert
(
op
->
o_ctrls
!=
NULL
)
;
assert
(
op
->
o_ctrls
[
0
]
!=
NULL
);
if
(
op
->
o_ctrls
!=
NULL
)
{
assert
(
op
->
o_ctrls
[
0
]
!=
NULL
);
free
(
op
->
o_ctrls
);
free
(
op
->
o_ctrls
);
op
->
o_chaining
=
0
;
op
->
o_chaining
=
0
;
}
op
->
o_ctrls
=
oldctrls
;
}
...
...
Write
Preview
Markdown
is supported
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