[PATCH 1/4] ole32: Fix some races in the global interface table
implementation.
Robert Shearman
rob at codeweavers.com
Tue May 22 04:31:11 CDT 2007
Fix a race between RevokeInterfaceFromGlobal and GetInterfaceFromGlobal
by only using the entry inside the critical section.
Fix a race between two GetInterfaceFromGlobal by cloning the stream,
instead of using it and setting the current position back to zero.
---
dlls/ole32/git.c | 55
+++++++++++++++++++++++++++++++----------------------
1 files changed, 32 insertions(+), 23 deletions(-)
The second issue could also have been solved by extending the critical
section around the CoUnmarshalInterface, but this would have been bad
for performance.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6e30bd2bccbefc512d2efb168eb2ebfda09a569c.diff
Type: text/x-patch
Size: 3220 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070522/17a47cf3/6e30bd2bccbefc512d2efb168eb2ebfda09a569c.bin
More information about the wine-patches
mailing list