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
7a90776b
Commit
7a90776b
authored
Jan 29, 2013
by
Howard Chu
Committed by
Quanah Gibson-Mount
Jan 29, 2013
Browse files
ITS#7473 fix
b1a6f698
uninit'd size in dn2id_walk, bogus pagedresults
parent
fef2a151
Changes
2
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-mdb/dn2id.c
View file @
7a90776b
...
...
@@ -835,6 +835,7 @@ mdb_dn2id_walk(
key
.
mv_data
=
&
isc
->
scopes
[
n
].
mid
;
key
.
mv_size
=
sizeof
(
ID
);
data
.
mv_data
=
isc
->
nrdns
[
n
].
bv_val
-
2
;
data
.
mv_size
=
1
;
/* just needs to be non-zero, mdb_dup_compare doesn't care */
mdb_cursor_get
(
isc
->
mc
,
&
key
,
&
data
,
MDB_GET_BOTH
);
continue
;
}
...
...
servers/slapd/back-mdb/search.c
View file @
7a90776b
...
...
@@ -630,6 +630,7 @@ dn2entry_retry:
}
if
(
id
==
(
ID
)
ps
->
ps_cookie
)
id
=
mdb_idl_next
(
candidates
,
&
cursor
);
nsubs
=
ncand
;
/* always bypass scope'd search */
goto
loop_begin
;
}
if
(
nsubs
<
ncand
)
{
...
...
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