Commit 0d05685b authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

rpcrt4: Return a fault packet if the interface/object pair in a request packet aren't registered.

parent 903fb72b
......@@ -235,7 +235,11 @@ static void RPCRT4_process_packet(RpcConnection* conn, RpcPktHdr* hdr, RPC_MESSA
sif = RPCRT4_find_interface(object_uuid, &conn->ActiveInterface, TRUE);
if (!sif) {
/* FIXME: send fault packet? */
response = RPCRT4_BuildFaultHeader(NDR_LOCAL_DATA_REPRESENTATION,
RPC_S_UNKNOWN_IF);
RPCRT4_Send(conn, response, NULL, 0);
RPCRT4_FreeHeader(response);
break;
}
msg->RpcInterfaceInformation = sif->If;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment