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
991746b6
Commit
991746b6
authored
Apr 14, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 14, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Fix properties list lookup (Coverity).
parent
8d178b18
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
proplist.c
dlls/crypt32/proplist.c
+6
-3
No files found.
dlls/crypt32/proplist.c
View file @
991746b6
...
...
@@ -175,12 +175,15 @@ DWORD ContextPropertyList_EnumPropIDs(CONTEXT_PROPERTY_LIST *list, DWORD id)
EnterCriticalSection
(
&
list
->
cs
);
if
(
id
)
{
CONTEXT_PROPERTY
*
cursor
=
NULL
;
CONTEXT_PROPERTY
*
cursor
=
NULL
,
*
prop
;
LIST_FOR_EACH_ENTRY
(
cursor
,
&
list
->
properties
,
CONTEXT_PROPERTY
,
entry
)
LIST_FOR_EACH_ENTRY
(
prop
,
&
list
->
properties
,
CONTEXT_PROPERTY
,
entry
)
{
if
(
cursor
->
propID
==
id
)
if
(
prop
->
propID
==
id
)
{
cursor
=
prop
;
break
;
}
}
if
(
cursor
)
{
...
...
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