Module: wine Branch: master Commit: 9a9c075ee9cd5cf5cf40de78fdd12d0876bb8e9c URL: http://source.winehq.org/git/wine.git/?a=commit;h=9a9c075ee9cd5cf5cf40de78fd...
Author: Aric Stewart aric@codeweavers.com Date: Wed Jan 20 10:03:09 2010 -0600
oleaut32: Do not crash in logging if string is NULL.
---
dlls/oleaut32/tmarshal.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/oleaut32/tmarshal.c b/dlls/oleaut32/tmarshal.c index 9f10981..26babdb 100644 --- a/dlls/oleaut32/tmarshal.c +++ b/dlls/oleaut32/tmarshal.c @@ -961,7 +961,7 @@ deserialize_param( unsigned char *buffer; buffer = BSTR_UserUnmarshal(&flags, buf->base + buf->curoff, (BSTR *)arg); buf->curoff = buffer - buf->base; - if (debugout) TRACE_(olerelay)("%s",relaystr(*(BSTR *)arg)); + if (debugout) TRACE_(olerelay)("%s",debugstr_w(*(BSTR *)arg)); } return S_OK; }