Re: oleaut32: do not crash in logging if string is NULL

2010-01-20 Thread Alexandre Julliard
Aric Stewart writes: > Meaning the place where I am finding this is different bug? > > In deserialize_param in the VT_BSTR case if the byte_length of the > BSTR that we are deserializing is -1 then BSTR_UserUnmarshal places > NULL into *arg. > > I will admit I know very little about this code bu

Re: oleaut32: do not crash in logging if string is NULL

2010-01-20 Thread Aric Stewart
Aric Stewart wrote: Meaning the place where I am finding this is different bug? In deserialize_param in the VT_BSTR case if the byte_length of the BSTR that we are deserializing is -1 then BSTR_UserUnmarshal places NULL into *arg. I will admit I know very little about this code but having i

Re: oleaut32: do not crash in logging if string is NULL

2010-01-20 Thread Aric Stewart
Meaning the place where I am finding this is different bug? In deserialize_param in the VT_BSTR case if the byte_length of the BSTR that we are deserializing is -1 then BSTR_UserUnmarshal places NULL into *arg. I will admit I know very little about this code but having it crash when trying

Re: oleaut32: do not crash in logging if string is NULL

2010-01-20 Thread Alexandre Julliard
Aric Stewart writes: > @@ -68,10 +68,16 @@ typedef struct _marshal_state { > > /* used in the olerelay code to avoid having the L"" stuff added by > debugstr_w */ > static char *relaystr(WCHAR *in) { > -char *tmp = (char *)debugstr_w(in); > -tmp += 2; > -tmp[strlen(tmp)-1] = '\0'