зеркало из https://github.com/mozilla/gecko-dev.git
Prevent crash if certlist is NULL
This commit is contained in:
Родитель
5547869e54
Коммит
8af297a802
|
@ -662,7 +662,9 @@ listCerts(CERTCertDBHandle *handle, char *name, PK11SlotInfo *slot,
|
|||
rv = SECSuccess;
|
||||
}
|
||||
}
|
||||
CERT_DestroyCertList(certs);
|
||||
if (certs) {
|
||||
CERT_DestroyCertList(certs);
|
||||
}
|
||||
if (rv) {
|
||||
SECU_PrintError(progName, "problem printing certificate nicknames");
|
||||
return SECFailure;
|
||||
|
|
Загрузка…
Ссылка в новой задаче