wine/dlls/rpcrt4
Kevin Puetz a7be4256f6 rpcrt4: Add a refcount owned by MIDL_STUB_MESSAGE.
In cases where this could have been use-after-free, exceptions were
caught/hidden by RpcTryFinally, but still lead to leaks since
NdrProxyFreeBuffer wasn't able to call IRPCChannelBuffer::FreeBuffer.

StdProxy_GetChannel() now AddRef() on its return value (used to set
__proxy_frame::_StubMsg::pRpcChannelBuffer), and NdrProxyFreeBuffer()
calls the corresponding Release() and clears the now-weak pointer.
This makes the behavior of these function match the observed test
results, and fixes the crash/leak when a proxy is released mid-Invoke.
2022-10-11 17:13:02 +02:00
..
tests rpcrt4: Add a refcount owned by MIDL_STUB_MESSAGE. 2022-10-11 17:13:02 +02:00
cproxy.c rpcrt4: Add a refcount owned by MIDL_STUB_MESSAGE. 2022-10-11 17:13:02 +02:00
cpsf.c
cpsf.h
cstub.c
epm.idl
epm_towers.h
Makefile.in
ncastatus.h
ndr_clientserver.c
ndr_contexthandle.c
ndr_es.c
ndr_fullpointer.c
ndr_marshall.c
ndr_misc.h
ndr_ole.c
ndr_stubless.c rpcrt4: Add SEH annotations to NdrClientCall2(). 2022-09-07 21:16:49 +02:00
ndr_stubless.h
ndr_typelib.c
ndr_types.idl
rpc_assoc.c
rpc_assoc.h
rpc_async.c
rpc_binding.c
rpc_binding.h
rpc_defs.h
rpc_epmap.c
rpc_message.c
rpc_message.h
rpc_server.c rpcrt4: Set the name of internal threads. 2022-09-26 21:49:54 +02:00
rpc_server.h
rpc_transport.c rpcrt4: Set the name of internal threads. 2022-09-26 21:49:54 +02:00
rpcrt4.spec
rpcrt4_main.c
version.rc