Commit ab138e9c authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

cryptui: Fixed bad sizeof() (Coverity).

parent b42c593f
......@@ -1637,7 +1637,7 @@ HCERTSTORE WINAPI CryptUIDlgSelectStoreA(PCRYPTUI_SELECTSTORE_INFO_A info)
SetLastError(E_INVALIDARG);
return NULL;
}
memcpy(&infoW, &info, sizeof(info));
memcpy(&infoW, info, sizeof(*info));
if (info->pszTitle)
{
len = MultiByteToWideChar(CP_ACP, 0, info->pszTitle, -1, NULL, 0);
......
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