mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
NDRCContextBinding should raise an exception when NULL pointer is passed
svn path=/trunk/; revision=21417
This commit is contained in:
@@ -3303,6 +3303,8 @@ NDR_SCONTEXT WINAPI NdrServerContextNewUnmarshall(PMIDL_STUB_MESSAGE pStubMsg,
|
||||
|
||||
RPC_BINDING_HANDLE WINAPI NDRCContextBinding(NDR_CCONTEXT CContext)
|
||||
{
|
||||
|
||||
if(!CContext)
|
||||
RpcRaiseException(ERROR_INVALID_HANDLE);
|
||||
|
||||
return (RPC_BINDING_HANDLE)((CContextHandle*)CContext)->Binding;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user