- 20 Oct, 2022 1 commit
-
-
Francois Gouget authored
-
- 11 Oct, 2022 2 commits
-
-
Kevin Puetz authored
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.
-
Kevin Puetz authored
It's possible for a proxy to be released during the middle of an Invoke. E.g. a specific case where this happened was a single-shot event sink which, upon receiving the event it was waiting for, would immediately call DispEventUnadvise. This removed the proxy pointing to that sink from the connection point's list of subscribers and released the last refcount on the proxy itself. Therefore, all state used to complete an RPC call must be on the stack; once NdrProxySendReceive pumps STA messages and permits reentrancy, the proxy cannot be accessed or relied on to own anything. Add test showing MIDL_STUB_MESSAGE::pRpcChannelBuffer owns a refcount (to ensure it can read [out] parameters from the channel)
-
- 04 Mar, 2022 1 commit
-
-
Eric Pouech authored
Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
-
- 30 Oct, 2019 1 commit
-
-
Alexandre Julliard authored
These are too short when running under QEMU. Signed-off-by: Alexandre Julliard <julliard@winehq.org>
-
- 17 Sep, 2018 2 commits
-
-
Zebediah Figura authored
Delegated proxies pass the IID of the parent interface to NdrProxyGetBuffer(). However, this interface was never registered with ole32 on the server side, so calls to delegated methods will return RPC_S_UNKNOWN_IF. Therefore we have ole32 ignore the passed-in parameter and use the real proxy ID. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45673Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
-
Zebediah Figura authored
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
-
- 11 Jun, 2018 1 commit
-
-
Michael Stefaniuc authored
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
-
- 03 Nov, 2016 2 commits
-
-
Huw Davies authored
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
-
Huw Davies authored
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
-
- 24 Apr, 2015 1 commit
-
-
Huw Davies authored
-
- 24 Oct, 2014 1 commit
-
-
Amine Khaldi authored
-
- 08 Nov, 2013 1 commit
-
-
Jacek Caban authored
-
- 15 Mar, 2011 1 commit
-
-
Michael Stefaniuc authored
-
- 09 Feb, 2011 1 commit
-
-
Austin English authored
-
- 08 Apr, 2010 1 commit
-
-
Aric Stewart authored
-
- 14 Dec, 2009 1 commit
-
-
Rob Shearman authored
-
- 24 Sep, 2009 1 commit
-
-
Ge van Geldorp authored
-
- 05 Jun, 2009 1 commit
-
-
Francois Gouget authored
-
- 03 Jun, 2009 1 commit
-
-
Alexandre Julliard authored
-
- 27 May, 2009 1 commit
-
-
Alexandre Julliard authored
-
- 16 Feb, 2009 1 commit
-
-
Michael Stefaniuc authored
-
- 06 Feb, 2009 1 commit
-
-
Rob Shearman authored
The address varies on older versions of Windows and isn't really important.
-
- 02 Feb, 2009 1 commit
-
-
Rob Shearman authored
-
- 29 Jan, 2009 1 commit
-
-
Rob Shearman authored
-
- 16 Dec, 2008 1 commit
-
-
Paul Vriens authored
-
- 12 Sep, 2008 1 commit
-
-
Rob Shearman authored
Add tests for this.
-
- 08 Jul, 2008 1 commit
-
-
Alexandre Julliard authored
This avoids trouble with the broken MingW libraries when cross-compiling the tests.
-
- 09 Jan, 2008 1 commit
-
-
Rob Shearman authored
-
- 04 Dec, 2007 1 commit
-
-
Rob Shearman authored
rpcrt4: Flesh out more of the IRpcChannelBuffer vtable to make the test_delegating_Invoke test succeed on Windows.
-
- 08 Jan, 2007 1 commit
-
-
Francois Gouget authored
-
- 14 Dec, 2006 1 commit
-
-
Andrew Talbot authored
-
- 11 Dec, 2006 1 commit
-
-
Marcus Meissner authored
-
- 08 Nov, 2006 1 commit
-
-
Michael Stefaniuc authored
-
- 09 Oct, 2006 1 commit
-
-
Michael Stefaniuc authored
-
- 02 Oct, 2006 1 commit
-
-
Francois Gouget authored
-
- 29 Sep, 2006 1 commit
-
-
Francois Gouget authored
-
- 07 Sep, 2006 2 commits
-
-
Huw Davies authored
-
Huw Davies authored
Also call IPSFactoryBuffer_Release on the 2nd arg, rather than on This->pPSFactory.
-
- 29 Aug, 2006 1 commit
-
-
Huw Davies authored
This shows that we have a vtbl ptr at (void**)This-2 that is passed to the base interface's IRpcStubBuffer_Connect. This vtbl should presumably forward calls to the real object's vtbl. We can't simply pass the real object to the base interface's stub, as the real object's QI may not provide us with the base interface.
-