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
379b9f67
Commit
379b9f67
authored
Oct 07, 2014
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 07, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe: Don't crash if output parameter is NULL in WebBrowser::get_RegisterAsDropTarget.
parent
fb36148f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
webbrowser.c
dlls/ieframe/tests/webbrowser.c
+4
-0
webbrowser.c
dlls/ieframe/webbrowser.c
+5
-0
No files found.
dlls/ieframe/tests/webbrowser.c
View file @
379b9f67
...
...
@@ -2321,6 +2321,10 @@ static void test_ie_funcs(IWebBrowser2 *wb)
ok
(
sName
!=
NULL
,
"get_Name return a NULL string.
\n
"
);
SysFreeString
(
sName
);
/* RegisterAsDropTarget */
hres
=
IWebBrowser2_get_RegisterAsDropTarget
(
wb
,
NULL
);
ok
(
hres
==
E_INVALIDARG
,
"get_RegisterAsDropTarget returned: %08x
\n
"
,
hres
);
/* Quit */
hres
=
IWebBrowser2_Quit
(
wb
);
...
...
dlls/ieframe/webbrowser.c
View file @
379b9f67
...
...
@@ -943,7 +943,12 @@ static HRESULT WINAPI WebBrowser_get_RegisterAsDropTarget(IWebBrowser2 *iface,
VARIANT_BOOL
*
pbRegister
)
{
WebBrowser
*
This
=
impl_from_IWebBrowser2
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
pbRegister
);
if
(
!
pbRegister
)
return
E_INVALIDARG
;
*
pbRegister
=
0
;
return
S_OK
;
}
...
...
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