rpcrt4: The format structures used in the marshaling code should have 1-byte alignment.
diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c
index 3dc5265..7fce001 100644
--- a/dlls/rpcrt4/ndr_marshall.c
+++ b/dlls/rpcrt4/ndr_marshall.c
@@ -2933,6 +2933,7 @@
is to raise an exception */
}
+#include "pshpack1.h"
typedef struct _NDR_CSTRUCT_FORMAT
{
unsigned char type;
@@ -2940,6 +2941,7 @@
unsigned short memory_size;
short offset_to_array_description;
} NDR_CSTRUCT_FORMAT, NDR_CVSTRUCT_FORMAT;
+#include "poppack.h"
/***********************************************************************
* NdrConformantStructMarshall [RPCRT4.@]
@@ -3509,6 +3511,7 @@
EmbeddedPointerFree(pStubMsg, pMemory, pFormat);
}
+#include "pshpack1.h"
typedef struct
{
unsigned char type;
@@ -3522,6 +3525,7 @@
unsigned char alignment;
unsigned long total_size;
} NDR_LGFARRAY_FORMAT;
+#include "poppack.h"
/***********************************************************************
* NdrFixedArrayMarshall [RPCRT4.@]