[Wine-patches] [eter-1.0.12 1/3] crypt32: Fix ExtraInfo initialization (eterbug #5665).

Alexander Morozov amorozov на etersoft.ru
Чт Июн 24 17:50:24 MSD 2010


----------- следующая часть -----------
From c1969953bd05bdb2026692b00c363334d402305c Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Wed, 23 Jun 2010 14:31:16 +0400
Subject: [eter-1.0.12 1/3] crypt32: Fix ExtraInfo initialization (eterbug #5665).

---
 dlls/crypt32/oid.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/crypt32/oid.c b/dlls/crypt32/oid.c
index 7cb98f9..c828c74 100644
--- a/dlls/crypt32/oid.c
+++ b/dlls/crypt32/oid.c
@@ -1611,6 +1611,7 @@ static void update_oid_info(void)
             }
             if (extra_size)
             {
+                info->info.ExtraInfo.cbData = extra_size;
                 info->info.ExtraInfo.pbData =
                  (BYTE *)((char *)(info + 1) + oid_size + name_size);
                 if (RegQueryValueExW(hSubKey, wszExtraInfo, NULL, NULL,
-- 
1.6.5.8



Подробная информация о списке рассылки Wine-patches