diff --git a/dlls/crypt32/decode.c b/dlls/crypt32/decode.c index a4934a7749c..e5f8baff0bf 100644 --- a/dlls/crypt32/decode.c +++ b/dlls/crypt32/decode.c @@ -692,8 +692,7 @@ static BOOL CRYPT_AsnDecodeArray(const struct AsnArrayDescriptor *arrayDesc, CryptMemAlloc( cItems * sizeof(struct AsnArrayItemSize)); if (itemSizes) - memcpy(itemSizes, &itemSize, - sizeof(itemSize)); + *itemSizes = itemSize; } if (itemSizes) {