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
6f917d49
Commit
6f917d49
authored
Nov 22, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Nov 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Fix a race in find_proxy_manager.
parent
7a8eb4c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
marshal.c
dlls/ole32/marshal.c
+9
-4
No files found.
dlls/ole32/marshal.c
View file @
6f917d49
...
@@ -1097,10 +1097,15 @@ static BOOL find_proxy_manager(APARTMENT * apt, OXID oxid, OID oid, struct proxy
...
@@ -1097,10 +1097,15 @@ static BOOL find_proxy_manager(APARTMENT * apt, OXID oxid, OID oid, struct proxy
struct
proxy_manager
*
proxy
=
LIST_ENTRY
(
cursor
,
struct
proxy_manager
,
entry
);
struct
proxy_manager
*
proxy
=
LIST_ENTRY
(
cursor
,
struct
proxy_manager
,
entry
);
if
((
oxid
==
proxy
->
oxid
)
&&
(
oid
==
proxy
->
oid
))
if
((
oxid
==
proxy
->
oxid
)
&&
(
oid
==
proxy
->
oid
))
{
{
*
proxy_found
=
proxy
;
/* be careful of a race with ClientIdentity_Release, which would
ClientIdentity_AddRef
((
IMultiQI
*
)
&
proxy
->
lpVtbl
);
* cause us to return a proxy which is in the process of being
found
=
TRUE
;
* destroyed */
break
;
if
(
ClientIdentity_AddRef
((
IMultiQI
*
)
&
proxy
->
lpVtbl
)
!=
0
)
{
*
proxy_found
=
proxy
;
found
=
TRUE
;
break
;
}
}
}
}
}
LeaveCriticalSection
(
&
apt
->
cs
);
LeaveCriticalSection
(
&
apt
->
cs
);
...
...
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