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
ad759e79
Commit
ad759e79
authored
Jul 22, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Don't fail on invalid headers argument in navigate_url.
parent
9915dd03
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
11 deletions
+4
-11
navigate.c
dlls/shdocvw/navigate.c
+4
-11
No files found.
dlls/shdocvw/navigate.c
View file @
ad759e79
...
...
@@ -759,19 +759,12 @@ HRESULT navigate_url(DocHost *This, LPCWSTR url, const VARIANT *Flags,
Flags
,
Flags
?
V_VT
(
Flags
)
:
-
1
,
TargetFrameName
,
TargetFrameName
?
V_VT
(
TargetFrameName
)
:
-
1
);
if
(
PostData
)
{
TRACE
(
"PostData vt=%d
\n
"
,
V_VT
(
PostData
));
if
(
V_VT
(
PostData
)
==
(
VT_ARRAY
|
VT_UI1
))
{
SafeArrayAccessData
(
V_ARRAY
(
PostData
),
(
void
**
)
&
post_data
);
post_data_len
=
V_ARRAY
(
PostData
)
->
rgsabound
[
0
].
cElements
;
}
if
(
PostData
&&
V_VT
(
PostData
)
==
(
VT_ARRAY
|
VT_UI1
))
{
SafeArrayAccessData
(
V_ARRAY
(
PostData
),
(
void
**
)
&
post_data
);
post_data_len
=
V_ARRAY
(
PostData
)
->
rgsabound
[
0
].
cElements
;
}
if
(
Headers
&&
V_VT
(
Headers
)
!=
VT_EMPTY
&&
V_VT
(
Headers
)
!=
VT_ERROR
)
{
if
(
V_VT
(
Headers
)
!=
VT_BSTR
)
return
E_INVALIDARG
;
if
(
Headers
&&
V_VT
(
Headers
)
==
VT_BSTR
)
{
headers
=
V_BSTR
(
Headers
);
TRACE
(
"Headers: %s
\n
"
,
debugstr_w
(
headers
));
}
...
...
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