mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[MSXML3] Fix buffer overflow in BindStatusCallback_GetBindInfo. CORE-14570
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user