Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
17387317
Commit
17387317
authored
Dec 08, 2009
by
Pierangelo Masarati
Browse files
guard against simultaneous REP_ENTRY_MUSTRELEASE and REP_ENTRY_MODIFIABLE (ITS
#6423
)
parent
78ece29a
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/overlays/rwm.c
View file @
17387317
...
...
@@ -1505,6 +1505,13 @@ rwm_send_entry( Operation *op, SlapReply *rs )
(
void
)
rwm_attrs
(
op
,
rs
,
&
e
->
e_attrs
,
1
);
if
(
rs
->
sr_flags
&
REP_ENTRY_MUSTRELEASE
)
{
/* ITS#6423: REP_ENTRY_MUSTRELEASE incompatible
* with REP_ENTRY_MODIFIABLE */
if
(
rs
->
sr_entry
==
e
)
{
rc
=
1
;
goto
fail
;
}
overlay_entry_release_ov
(
op
,
rs
->
sr_entry
,
0
,
on
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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