Commit c9bd71f3 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

urlmon: Added missing memcpy in CopyBindInfo.

parent b663a6de
...@@ -607,6 +607,7 @@ HRESULT WINAPI CopyBindInfo(const BINDINFO *pcbiSrc, BINDINFO *pcbiDest) ...@@ -607,6 +607,7 @@ HRESULT WINAPI CopyBindInfo(const BINDINFO *pcbiSrc, BINDINFO *pcbiDest)
ReleaseStgMedium(&pcbiDest->stgmedData); ReleaseStgMedium(&pcbiDest->stgmedData);
return E_OUTOFMEMORY; return E_OUTOFMEMORY;
} }
memcpy(pcbiDest->szCustomVerb, pcbiSrc->szCustomVerb, size);
} }
size = FIELD_OFFSET(BINDINFO, securityAttributes)+sizeof(SECURITY_ATTRIBUTES); size = FIELD_OFFSET(BINDINFO, securityAttributes)+sizeof(SECURITY_ATTRIBUTES);
......
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