crypt32: Fix possible dereference of NULL ptr.
This commit is contained in:
parent
545c2a95f6
commit
417ae04ed9
|
@ -899,6 +899,7 @@ DWORD WINAPI CertGetNameStringW(PCCERT_CONTEXT pCertContext, DWORD dwType,
|
|||
}
|
||||
}
|
||||
}
|
||||
if (nameAttr)
|
||||
ret = CertRDNValueToStrW(nameAttr->dwValueType, &nameAttr->Value,
|
||||
pszNameString, cchNameString);
|
||||
if (info)
|
||||
|
|
Loading…
Reference in New Issue