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
f93ca73e
Commit
f93ca73e
authored
Jul 17, 2012
by
Francois Gouget
Committed by
Alexandre Julliard
Jul 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Avoid returning with an unset URL policy in error cases.
parent
d8c90fa4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
secmgr.c
dlls/mshtml/secmgr.c
+2
-3
No files found.
dlls/mshtml/secmgr.c
View file @
f93ca73e
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
#include <stdarg.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdio.h>
#include <assert.h>
#define COBJMACROS
#define COBJMACROS
...
@@ -104,9 +105,7 @@ static HRESULT confirm_safety_load(HTMLDocumentNode *This, struct CONFIRMSAFETY
...
@@ -104,9 +105,7 @@ static HRESULT confirm_safety_load(HTMLDocumentNode *This, struct CONFIRMSAFETY
CATID
init_catid
=
CATID_SafeForInitializing
;
CATID
init_catid
=
CATID_SafeForInitializing
;
hres
=
ICatInformation_IsClassOfCategories
(
This
->
catmgr
,
&
cs
->
clsid
,
1
,
&
init_catid
,
0
,
NULL
);
hres
=
ICatInformation_IsClassOfCategories
(
This
->
catmgr
,
&
cs
->
clsid
,
1
,
&
init_catid
,
0
,
NULL
);
if
(
FAILED
(
hres
))
assert
(
SUCCEEDED
(
hres
));
return
hres
;
*
ret
=
hres
==
S_OK
?
URLPOLICY_ALLOW
:
URLPOLICY_DISALLOW
;
*
ret
=
hres
==
S_OK
?
URLPOLICY_ALLOW
:
URLPOLICY_DISALLOW
;
}
}
...
...
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