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

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


----------- следующая часть -----------
From d1c0b766220e662f771c20ed54a9f31442604e28 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Wed, 23 Jun 2010 14:31:16 +0400
Subject: [eterhack 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 baa10b0..acea462 100644
--- a/dlls/crypt32/oid.c
+++ b/dlls/crypt32/oid.c
@@ -1632,6 +1632,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