From 13cd23013576df111eb942b888e0af468f03be47 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Fri, 28 Sep 2007 16:12:41 -0700 Subject: [PATCH] Correct copying a signer info's attributes --- dlls/crypt32/msg.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/crypt32/msg.c b/dlls/crypt32/msg.c index df93c79..15fbbc9 100644 --- a/dlls/crypt32/msg.c +++ b/dlls/crypt32/msg.c @@ -1776,6 +1776,7 @@ static inline void CRYPT_CopyAttributes( if ((*nextData - (LPBYTE)0) % sizeof(DWORD_PTR)) *nextData += (*nextData - (LPBYTE)0) % sizeof(DWORD_PTR); out->rgAttr[i].rgValue = (PCRYPT_DATA_BLOB)*nextData; + *nextData += in->rgAttr[i].cValue * sizeof(CRYPT_DATA_BLOB); for (j = 0; j < in->rgAttr[i].cValue; j++) CRYPT_CopyBlob(&out->rgAttr[i].rgValue[j], &in->rgAttr[i].rgValue[j], nextData); -- 1.4.1