[crypt32 3/3] Don't crash when tracing is on and a numeric
identifier is passed
Paul Vriens
Paul.Vriens at xs4all.nl
Thu Sep 7 08:08:14 CDT 2006
Hi,
passing a numeric OID identifier while TRACE is on, makes Wine crash.
Changelog
Don't crash when tracing is on and a numeric identifier is passed
Cheers,
Paul.
---
dlls/crypt32/oid.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/crypt32/oid.c b/dlls/crypt32/oid.c
index 6195ed4..ca4d40f 100644
--- a/dlls/crypt32/oid.c
+++ b/dlls/crypt32/oid.c
@@ -440,8 +440,8 @@ BOOL WINAPI CryptRegisterOIDFunction(DWO
HKEY hKey;
LPSTR szKey;
- TRACE("(%lx, %s, %s, %s, %s)\n", dwEncodingType, pszFuncName, pszOID,
- debugstr_w(pwszDll), pszOverrideFuncName);
+ TRACE("(%lx, %s, %s, %s, %s)\n", dwEncodingType, pszFuncName,
+ debugstr_a(pszOID), debugstr_w(pwszDll), pszOverrideFuncName);
/* This only registers functions for encoding certs, not messages */
if (!GET_CERT_ENCODING_TYPE(dwEncodingType))
--
1.4.2
More information about the wine-patches
mailing list