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
f3cca3d2
Commit
f3cca3d2
authored
Feb 18, 2009
by
Quanah Gibson-Mount
Browse files
ITS
#5927
parent
4bee4dd5
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
f3cca3d2
...
...
@@ -5,6 +5,7 @@ OpenLDAP 2.4.15 Engineering
Fixed slapd corrupt contextCSN (ITS#5947)
Fixed slapd syncrepl order to match on add/delete (ITS#5954)
Fixed slapd-bdb/hdb behavior with unallocatable shm (ITS#5956)
Fixed slapo-pcache caching invalid entries (ITS#5927)
Fixed slapo-rwm objectClass preservation (ITS#5760)
Build Environment
Fixed tester library linking for windows (ITS#5740)
...
...
servers/slapd/overlays/pcache.c
View file @
f3cca3d2
...
...
@@ -1993,6 +1993,19 @@ pcache_op_cleanup( Operation *op, SlapReply *rs ) {
goto
over
;
}
/* check for malformed entries: attrs with no values */
{
Attribute
*
a
=
e
->
e_attrs
;
for
(;
a
;
a
=
a
->
a_next
)
{
if
(
!
a
->
a_numvals
)
{
Debug
(
pcache_debug
,
"%s: query not cacheable because of attrs without values in DN
\"
%s
\"
(%s)
\n
"
,
op
->
o_log_prefix
,
rs
->
sr_entry
->
e_name
.
bv_val
,
a
->
a_desc
->
ad_cname
.
bv_val
);
goto
over
;
}
}
}
if
(
si
->
count
<
si
->
max
)
{
si
->
count
++
;
e
=
entry_dup
(
rs
->
sr_entry
);
...
...
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