Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
d17f3fe8
Commit
d17f3fe8
authored
Jun 18, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Jun 18, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wldap32/tests: Skip a test on older versions of wldap32 to prevent a crash.
parent
45c8e640
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
parse.c
dlls/wldap32/tests/parse.c
+7
-2
No files found.
dlls/wldap32/tests/parse.c
View file @
d17f3fe8
...
...
@@ -57,8 +57,13 @@ static void test_ldap_parse_sort_control( LDAP *ld )
ok
(
!
ret
,
"ldap_search_ext_sA failed 0x%x
\n
"
,
ret
);
ok
(
res
!=
NULL
,
"expected res != NULL
\n
"
);
ret
=
ldap_parse_resultA
(
NULL
,
res
,
&
result
,
NULL
,
NULL
,
NULL
,
&
server_ctrls
,
1
);
ok
(
ret
==
LDAP_PARAM_ERROR
,
"ldap_parse_resultA failed 0x%x
\n
"
,
ret
);
if
(
GetProcAddress
(
GetModuleHandle
(
"wldap32.dll"
),
"ber_init"
))
{
ret
=
ldap_parse_resultA
(
NULL
,
res
,
&
result
,
NULL
,
NULL
,
NULL
,
&
server_ctrls
,
1
);
ok
(
ret
==
LDAP_PARAM_ERROR
,
"ldap_parse_resultA failed 0x%x
\n
"
,
ret
);
}
else
win_skip
(
"Test would crash on older wldap32 versions
\n
"
);
result
=
~
0u
;
ret
=
ldap_parse_resultA
(
ld
,
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