rpcrt4/tests: NdrVaryingArrayUnmarshall() is broken on Windows

Ge van Geldorp ge at gse.nl
Sun Jan 11 10:16:53 CST 2009


The failures in rpcrt4:server on Windows are caused by an access violation
thrown in NdrVaryingArrayUnmarshall() called from get_5numbers(). I've
created a minimum get_5numbers() test with Microsoft tools and that throws
the same access violation. The access violation disappears when zeroing
out the StubMsg before calling NdrClientInitializeNew(), so my guess is
Windows NdrVaryingArrayUnmarshall() uses an uninitialized member.

Changelog:
  NdrVaryingArrayUnmarshall() is broken on Windows
---
 dlls/rpcrt4/tests/server.c |   22 +++++++++++++++++++---
 1 files changed, 19 insertions(+), 3 deletions(-)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 853f218ef0393ca61a09f751c9b1b90a4ba88d26.diff
Type: text/x-patch
Size: 1346 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090111/9601b38a/attachment.bin 


More information about the wine-patches mailing list