https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2f569d4a7f9996c1b9773…
commit 2f569d4a7f9996c1b97733525e45f05db43703ff
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Mon Jun 4 03:58:20 2018 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Mon Jun 4 03:58:20 2018 +0100
[WINTRUST] Sync with Wine Staging 3.9. CORE-14656
---
dll/win32/wintrust/wintrust_main.c | 2 +-
media/doc/README.WINE | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dll/win32/wintrust/wintrust_main.c b/dll/win32/wintrust/wintrust_main.c
index 58e3ac39c0..bb5228286f 100644
--- a/dll/win32/wintrust/wintrust_main.c
+++ b/dll/win32/wintrust/wintrust_main.c
@@ -787,7 +787,7 @@ CRYPT_PROVIDER_CERT * WINAPI WTHelperGetProvCertFromChain(
TRACE("(%p %d)\n", pSgnr, idxCert);
- if (idxCert >= pSgnr->csCertChain || !pSgnr->pasCertChain)
+ if (!pSgnr || idxCert >= pSgnr->csCertChain || !pSgnr->pasCertChain)
return NULL;
cert = &pSgnr->pasCertChain[idxCert];
TRACE("returning %p\n", cert);
diff --git a/media/doc/README.WINE b/media/doc/README.WINE
index 9df16f6bba..061759f211 100644
--- a/media/doc/README.WINE
+++ b/media/doc/README.WINE
@@ -206,7 +206,7 @@ reactos/dll/win32/winmm # Forked at Wine-20050628
reactos/dll/win32/winmm/midimap # Forked at Wine-20050628
reactos/dll/win32/winmm/wavemap # Forked at Wine-20050628
reactos/dll/win32/winscard # Synced to WineStaging-3.3
-reactos/dll/win32/wintrust # Synced to WineStaging-3.3
+reactos/dll/win32/wintrust # Synced to WineStaging-3.9
reactos/dll/win32/wldap32 # Synced to WineStaging-3.3
reactos/dll/win32/wmi # Synced to WineStaging-2.9
reactos/dll/win32/wmiutils # Synced to WineStaging-3.3