oleaut32: Initialise BSTR pointer to NULL in VARIANT_UserUnmarshal

Robert Shearman rob at codeweavers.com
Tue Apr 18 05:56:14 CDT 2006


ChangeLog:
Initialise BSTR pointer to NULL before calling BSTR_UserUnmarshal,
otherwise BSTR_UserUnmarshal will try to use the memory in the pointer.

  dlls/oleaut32/usrmarshal.c |    3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 85c195b13424184604de12e167fd6b0650c22a12.diff
Type: text/x-patch
Size: 675 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060418/c45447a6/85c195b13424184604de12e167fd6b0650c22a12.diff


More information about the wine-patches mailing list