wine/dlls/combase
Jinoh Kang f55f0b8342 combase: Compare AddRef() return value against 1 instead of 0 in find_proxy_manager.
Today, find_proxy_manager() tests if AddRef() returns 0 in an attempt to
protect against a race condition bug.

Note that AddRef does not return zero in normal circumstances, since
AddRef returns the reference count after the increment, not before.

Fix this by comparing the return value of AddRef() against 1, not 0.
2023-05-18 05:27:41 -05:00
..
tests combase: Lookup activatable class library in the activation context. 2022-05-20 12:24:38 +02:00
apartment.c combase: Use CRT memory allocation functions. 2022-05-20 12:24:38 +02:00
combase.c combase: Avoid calling RtlInitUnicodeString on a static constant. 2023-02-07 17:46:14 +01:00
combase.spec combase: Add RoSetErrorReportingFlags() stub. 2022-03-02 20:17:25 +01:00
combase_private.h combase: Use CRT memory allocation functions. 2022-05-20 12:24:38 +02:00
dcom.idl
errorinfo.c include: Use proper dllimports for OLE functions. 2022-12-07 13:51:37 +01:00
hglobalstream.c combase: Fix reading from beyond the end of a HGLOBAL stream. 2023-05-15 11:26:12 -05:00
irpcss.idl
Makefile.in include: Use proper dllimports for OLE functions. 2022-12-07 13:51:37 +01:00
malloc.c combase: Use CRT memory allocation functions. 2022-05-20 12:24:38 +02:00
marshal.c combase: Compare AddRef() return value against 1 instead of 0 in find_proxy_manager. 2023-05-18 05:27:41 -05:00
roapi.c combase: Lookup activatable class library in the activation context. 2022-05-20 12:24:38 +02:00
rpc.c combase: Execute local server for correct architecture in a WoW64 setup. 2022-07-04 23:33:23 +02:00
string.c combase: Use CRT memory allocation functions. 2022-05-20 12:24:38 +02:00
stubmanager.c combase: Check that process ID matches before searching the MTA for a stub manager. 2023-05-08 20:01:10 +02:00
usrmarshal.c combase: Use CRT memory allocation functions. 2022-05-20 12:24:38 +02:00