Commit Graph

1118 Commits

Author SHA1 Message Date
Rob Shearman 438f2a52a6 rpcrt4: Implement comm_status and fault_status handling for stubless procedures. 2009-11-16 17:16:33 +01:00
Rob Shearman cdc10a8d3b rpcrt4: Don't crash with a NULL binding handle in RpcBindingFree. 2009-11-16 17:16:19 +01:00
Rob Shearman b49512ecaf rpcrt4: Ignore the network address for ncalrpc in is_epm_destination_local.
The network address is ignored in the transport code, so it doesn't
make sense to take it into account here.
2009-11-16 17:16:14 +01:00
Rob Shearman eb0d2828b2 rpcrt4: Fix potential NULL pointer access in process_bind_packet.
Upon failure to allocate results in process_bind_packet, build nack
packet and send right away, instead of falling into the normal path
and potentially dereferencing the NULL pointer.
2009-11-16 11:34:58 +01:00
Hans Leidekker 03aae9e418 rpcrt4: Add tests for RpcBindingInqAuthInfo. 2009-11-12 15:18:54 +01:00
Hans Leidekker 8abe95ddfa rpcrt4: Implement RpcBindingInqAuthInfo{, Ex}. 2009-11-12 15:18:48 +01:00
Rob Shearman efda021c5d Revert "rpcrt4: The get_ranged_enum test doesn't work on Windows, so don't execute it for the moment.".
This reverts commit 81036cc51831db03f8e0eb03b5f74ae5099461cd.
2009-11-12 14:18:27 +01:00
Rob Shearman 03f87bc1c3 rpcrt4: Replace sizeofs with FIELD_OFFSET in RPCRT4_BuildBindNackHeader to avoid relying on ANYSIZE_ARRAY being 1. 2009-11-12 13:15:37 +01:00
Rob Shearman a638bff53d rpcrt4: Stop searching through transfer syntaxes in process_bind_packet when one has been found.
Fixes Valgrind errors in various tests using RPC.
2009-11-12 13:13:26 +01:00
Hans Leidekker 59e3d9b5c7 rpcrt4: Implement RpcBindingInqAuthClient{, Ex}. 2009-11-11 11:51:18 +01:00
Rob Shearman 59ba6d2573 rpcrt4: Support multiple interfaces and transfer syntaxes in bind and bind ack messages. 2009-11-11 10:56:13 +01:00
Rob Shearman 7e52896b84 rpcrt4: The get_ranged_enum test doesn't work on Windows, so don't execute it for the moment. 2009-11-11 10:56:09 +01:00
Marcus Meissner 860c87bb1c rpcrt4: Compare network options correctly (Coverity). 2009-11-10 13:10:14 +01:00
Rob Shearman 97d5f3401d widl: Add support for varargs functions. 2009-11-09 20:42:27 +01:00
Rob Shearman 2b3659f326 widl: Implement [range] attribute. 2009-11-09 20:34:17 +01:00
Hans Leidekker 444307610e rpcrt4: Add a test for the ncalrpc protocol sequence. 2009-11-04 13:07:56 +01:00
Hans Leidekker 4b33527f51 rpcrt4: Correct spelling of RPC_C_QOS_IDENTITY_STATIC and RPC_C_QOS_IDENTITY_DYNAMIC. 2009-11-04 13:07:56 +01:00
Alexandre Julliard c4ebf3687b rpcrt4: Specify the full application path when starting rpcss.exe. 2009-10-27 11:20:42 +01:00
Huw Davies da86e727bd rpcrt4: Move the full pointer table init to after a potential call to NdrServerInitializeNew(). 2009-10-26 13:38:10 +01:00
Alexandre Julliard 3b602f5fea rpcrt4/tests: Fix a double free (Valgrind). 2009-10-22 15:10:58 +02:00
Alexandre Julliard 8ce9b8f1be rpcrt4/tests: Remove tests for specific values of bit fields. 2009-10-09 16:09:20 +02:00
Ge van Geldorp 55230ba6e0 rpcrt4/tests: Fix cstub test on Win7. 2009-09-24 16:03:31 +02:00
Hans Leidekker ee7755511b rpcrt4: Add stub implementations of NdrMesTypeDecode2 and NdrMesTypeFree2. 2009-09-22 16:17:53 +02:00
Francois Gouget 891d3ef525 rpcrt4: Fix compilation on systems that don't support nameless unions. 2009-08-31 12:41:37 +02:00
Francois Gouget ee7902b283 rpcrt4/tests: Fix compilation on systems that don't support nameless unions.
Also omit the nameless union macros from the error messages for clarity.
2009-08-31 12:41:21 +02:00
Juan Lang d82cbcf049 rpcrt4: Allow Annotation to be NULL.
Fixes bug 19760.
--Juan

From afb4d6b943345e19952fe34bd1d8ab4c411563ae Mon Sep 17 00:00:00 2001
From: Juan Lang <juan.lang@gmail.com>
Date: Wed, 19 Aug 2009 14:27:20 -0700
Subject: [PATCH 3/3] Allow Annotation to be NULL
2009-08-20 15:26:33 +02:00
Alexandre Julliard e01420d72a rpcrt4: Assign a unique id to the connection instead of changing it for each message. 2009-08-18 20:15:01 +02:00
Huw Davies 70804336aa rpcrt4: Add support for FC_ALIGNM2. 2009-08-17 16:47:24 +02:00
Alexandre Julliard 8de0242885 rpcrt4: Replace long and unsigned long by more appropriate types. 2009-07-03 13:42:57 +02:00
Alexandre Julliard b6efd13ef5 rpcrt4: Add call frame annotations in x86 assembly code. 2009-06-25 12:05:09 +02:00
Alexandre Julliard b579c48133 rpcrt4: Fix memory sizes of marshalled pointers on 64-bit. 2009-06-19 12:49:35 +02:00
Alexandre Julliard 39d75dfba4 rpcrt4/tests: Fix the marshalling test for Win9x. 2009-06-19 12:49:20 +02:00
Alexandre Julliard c3c8aa3b23 rpcrt4/tests: Fix the marshalling test for Win64. 2009-06-19 12:38:46 +02:00
Francois Gouget d51d209b5f rpcrt4/tests: Replace malloc() with HeapAlloc(). 2009-06-15 13:42:29 +02:00
Alexandre Julliard f2d65b5563 rpcrt4: Add appropriate stdcall decorations to assembly functions. 2009-06-15 13:42:26 +02:00
Alexandre Julliard c35aa1d46d rpcrt4: Adjust the start of the proxy virtual table for stubless proxies. 2009-06-10 16:54:30 +02:00
Francois Gouget 47be6e8379 rpcrt4/tests: Make dummy_Release() static. 2009-06-05 14:43:25 +02:00
Alexandre Julliard cbf9d1b0c6 rpcrt4: Add checks for the number of methods being larger than what we support. 2009-06-03 16:52:06 +02:00
Alexandre Julliard 066060a520 rpcrt4/tests: Add tests for the contents of virtual table for delegated proxies. 2009-06-03 16:51:47 +02:00
Alexandre Julliard 3c9571df78 rpcrt4: Add support for proxy delegation. 2009-06-03 16:51:15 +02:00
Alexandre Julliard 01d00d178e rpcrt4: Split the vtbl initialization in NdrDllGetClassObject to a separate function. 2009-06-03 16:50:39 +02:00
Alexandre Julliard 449a82866d rpcrt4: Retrieve the stubless information for the thunks directly from the virtual table pointer. 2009-06-01 21:48:48 +02:00
Alexandre Julliard acfebea667 rpcrt4: Use the same allocation technique as delegated stubs for the stubless thunks.
This avoids allocating them on the heap, and avoids the need for a
separate vtbl.
2009-06-01 21:38:18 +02:00
Alexandre Julliard ce3c45934b rpcrt4: Return the stack size from the ObjectStubless function so that the thunks are independent from the number of arguments. 2009-06-01 21:36:12 +02:00
Alexandre Julliard 6f49023802 rpcrt4: Allocate the delegated stubs vtbl only once it is really needed. 2009-06-01 16:55:14 +02:00
Alexandre Julliard 0357ad0894 rpcrt4: Change the allocation of delegated stub methods so that we never need to free them. 2009-06-01 16:40:44 +02:00
Alexandre Julliard 2c1b94bde2 rpcrt4/tests: Fix a few more broken tests on NT4. 2009-06-01 16:16:05 +02:00
Alexandre Julliard 47d927f704 rpcrt4/tests: Disable some tests that crash on Windows. 2009-05-28 22:27:51 +02:00
Alexandre Julliard 05f57146c8 rpcrt4/tests: Remove tests for v1 memory list, the layout is wrong and we don't care about it anyway. 2009-05-28 20:30:05 +02:00
Alexandre Julliard 03b6dcb4a1 rpcrt4/tests: Mark some stub message tests broken for older Windows versions.
Group the common tests in a function shared between client and server.
2009-05-28 20:29:51 +02:00