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
4e370f74
Commit
4e370f74
authored
Jul 16, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Jul 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Fix a crash on Vista and higher.
parent
d2117c14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
winhttp.c
dlls/winhttp/tests/winhttp.c
+8
-4
No files found.
dlls/winhttp/tests/winhttp.c
View file @
4e370f74
...
...
@@ -905,10 +905,14 @@ static void test_set_default_proxy_config(void)
len
=
get_default_proxy_reg_value
(
saved_proxy_settings
,
len
,
&
type
);
}
SetLastError
(
0xdeadbeef
);
ret
=
WinHttpSetDefaultProxyConfiguration
(
NULL
);
ok
(
!
ret
&&
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"expected ERROR_INVALID_PARAMETER, got %d
\n
"
,
GetLastError
());
if
(
0
)
{
/* Crashes on Vista and higher */
SetLastError
(
0xdeadbeef
);
ret
=
WinHttpSetDefaultProxyConfiguration
(
NULL
);
ok
(
!
ret
&&
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"expected ERROR_INVALID_PARAMETER, got %d
\n
"
,
GetLastError
());
}
/* test with invalid access type */
info
.
dwAccessType
=
0xdeadbeef
;
...
...
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