[MSXML3] Fix buffer overflow in BindStatusCallback_GetBindInfo. CORE-14570

This commit is contained in:
Thomas Faber
2018-04-26 15:00:24 +02:00
parent 054c11a02c
commit 708d26acf3
+1 -1
View File
@@ -397,7 +397,7 @@ static HRESULT WINAPI BindStatusCallback_GetBindInfo(IBindStatusCallback *iface,
pbindinfo->dwBindVerb = This->request->verb;
if (This->request->verb == BINDVERB_CUSTOM)
{
pbindinfo->szCustomVerb = CoTaskMemAlloc(SysStringByteLen(This->request->custom));
pbindinfo->szCustomVerb = CoTaskMemAlloc(SysStringByteLen(This->request->custom)+sizeof(WCHAR));
strcpyW(pbindinfo->szCustomVerb, This->request->custom);
}