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

This commit is contained in:
Aric Stewart 2010-01-20 10:03:09 -06:00 committed by Alexandre Julliard
parent 4ae9c2fe1f
commit 9a9c075ee9

View File

@ -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;
}