[PATCH 2/3] rpcrt4: Correctly handle simple ref pointers in calc_arg_size().
Zebediah Figura
z.figura12 at gmail.com
Thu Oct 11 11:59:18 CDT 2018
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
dlls/rpcrt4/ndr_stubless.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/rpcrt4/ndr_stubless.c b/dlls/rpcrt4/ndr_stubless.c
index 9e434a5..18ce74d 100644
--- a/dlls/rpcrt4/ndr_stubless.c
+++ b/dlls/rpcrt4/ndr_stubless.c
@@ -156,8 +156,7 @@ static DWORD calc_arg_size(MIDL_STUB_MESSAGE *pStubMsg, PFORMAT_STRING pFormat)
case FC_RP:
if (pFormat[1] & FC_SIMPLE_POINTER)
{
- FIXME("Simple reference pointer (type %#x).\n", pFormat[2]);
- size = sizeof(void *);
+ size = 0;
break;
}
size = calc_arg_size(pStubMsg, &pFormat[2] + *(const SHORT*)&pFormat[2]);
--
2.7.4
More information about the wine-devel
mailing list