urlmon: Added missing memcpy in CopyBindInfo.

This commit is contained in:
Piotr Caban 2012-03-12 14:45:59 +01:00 committed by Alexandre Julliard
parent b663a6dea4
commit c9bd71f32f
1 changed files with 1 additions and 0 deletions

View File

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