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
61077035
Commit
61077035
authored
Sep 17, 2008
by
Juan Lang
Committed by
Alexandre Julliard
Sep 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust: Don't assume dwStateAction is set in WINTRUST_DATA.
parent
1a1a2187
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
wintrust_main.c
dlls/wintrust/wintrust_main.c
+10
-1
No files found.
dlls/wintrust/wintrust_main.c
View file @
61077035
...
...
@@ -381,6 +381,8 @@ LONG WINAPI WinVerifyTrust( HWND hwnd, GUID *ActionID, LPVOID ActionData )
err
=
WINTRUST_PublishedSoftware
(
hwnd
,
ActionID
,
ActionData
);
else
{
DWORD
stateAction
;
/* Check known actions to warn of possible problems */
if
(
!
IsEqualGUID
(
ActionID
,
&
unknown
)
&&
!
IsEqualGUID
(
ActionID
,
&
generic_verify_v2
)
&&
...
...
@@ -388,7 +390,14 @@ LONG WINAPI WinVerifyTrust( HWND hwnd, GUID *ActionID, LPVOID ActionData )
!
IsEqualGUID
(
ActionID
,
&
generic_chain_verify
))
WARN
(
"unknown action %s, default behavior may not be right
\n
"
,
debugstr_guid
(
ActionID
));
switch
(
actionData
->
dwStateAction
)
if
(
WVT_ISINSTRUCT
(
WINTRUST_DATA
,
actionData
->
cbStruct
,
dwStateAction
))
stateAction
=
actionData
->
dwStateAction
;
else
{
TRACE
(
"no dwStateAction, assuming WTD_STATEACTION_IGNORE
\n
"
);
stateAction
=
WTD_STATEACTION_IGNORE
;
}
switch
(
stateAction
)
{
case
WTD_STATEACTION_IGNORE
:
err
=
WINTRUST_DefaultVerifyAndClose
(
hwnd
,
ActionID
,
ActionData
);
...
...
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