Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
316f3fc6
Commit
316f3fc6
authored
Oct 20, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wldap32/tests: Don't crash if ldap_search_ext_sA fails.
parent
6152941b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
parse.c
dlls/wldap32/tests/parse.c
+5
-0
No files found.
dlls/wldap32/tests/parse.c
View file @
316f3fc6
...
...
@@ -49,6 +49,11 @@ static void test_ldap_parse_sort_control( LDAP *ld )
timeout
.
tv_usec
=
0
;
ret
=
ldap_search_ext_sA
(
ld
,
(
char
*
)
""
,
LDAP_SCOPE_SUBTREE
,
(
char
*
)
"(cn=Verisign*)"
,
NULL
,
0
,
ctrls
,
NULL
,
&
timeout
,
10
,
&
res
);
ok
(
!
ret
,
"ldap_search_ext_sA failed 0x%x
\n
"
,
ret
);
if
(
ret
)
{
ldap_control_free
(
sort
);
return
;
}
ok
(
res
!=
NULL
,
"expected res != NULL
\n
"
);
ret
=
ldap_parse_resultA
(
NULL
,
res
,
&
result
,
NULL
,
NULL
,
NULL
,
&
server_ctrls
,
1
);
...
...
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