Commit 9a9c075e authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

oleaut32: Do not crash in logging if string is NULL.

parent 4ae9c2fe
...@@ -961,7 +961,7 @@ deserialize_param( ...@@ -961,7 +961,7 @@ deserialize_param(
unsigned char *buffer; unsigned char *buffer;
buffer = BSTR_UserUnmarshal(&flags, buf->base + buf->curoff, (BSTR *)arg); buffer = BSTR_UserUnmarshal(&flags, buf->base + buf->curoff, (BSTR *)arg);
buf->curoff = buffer - buf->base; 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; return S_OK;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment