[PATCH 1/3] rpcrt4: Handle non-ref pointers in calc_arg_size().

Zebediah Figura z.figura12 at gmail.com
Thu Oct 11 11:59:17 CDT 2018


Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 dlls/rpcrt4/ndr_stubless.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dlls/rpcrt4/ndr_stubless.c b/dlls/rpcrt4/ndr_stubless.c
index a645a24..9e434a5 100644
--- a/dlls/rpcrt4/ndr_stubless.c
+++ b/dlls/rpcrt4/ndr_stubless.c
@@ -216,6 +216,9 @@ static DWORD calc_arg_size(MIDL_STUB_MESSAGE *pStubMsg, PFORMAT_STRING pFormat)
     default:
         FIXME("Unhandled type %02x\n", *pFormat);
         /* fallthrough */
+    case FC_UP:
+    case FC_OP:
+    case FC_FP:
     case FC_IP:
         size = sizeof(void *);
         break;
-- 
2.7.4




More information about the wine-devel mailing list