rpcrt4: Clear a hole in the ps1 structure in test_simple_struct.
This commit is contained in:
parent
c82ffcec60
commit
9196337e09
|
@ -896,6 +896,9 @@ static void test_simple_struct(void)
|
|||
test_pointer_marshal(fmtstr_simple_struct, &s1, 24, wiredata, 28, NULL, 0, "struct");
|
||||
}
|
||||
|
||||
/* zero the entire structure, including the hole */
|
||||
memset(&ps1, 0, sizeof(&ps1));
|
||||
|
||||
/* FC_PSTRUCT */
|
||||
ps1.l1 = 0xdeadbeef;
|
||||
l = 0xcafebabe;
|
||||
|
|
Loading…
Reference in New Issue