зеркало из https://github.com/mozilla/pjs.git
Fix UMC in Purify
This commit is contained in:
Родитель
399042088f
Коммит
7a47c3326d
|
@ -853,6 +853,7 @@ pk11_CollectCrls(PK11SlotInfo *slot, CK_OBJECT_HANDLE crlID, void *arg)
|
|||
|
||||
new_node->type = *((CK_BBOOL *)fetchCrl[1].pValue) ?
|
||||
SEC_KRL_TYPE : SEC_CRL_TYPE;
|
||||
derCrl.type = 0;
|
||||
derCrl.data = (unsigned char *)fetchCrl[0].pValue;
|
||||
derCrl.len = fetchCrl[0].ulValueLen;
|
||||
new_node->crl=CERT_DecodeDERCrl(head->arena,&derCrl,new_node->type);
|
||||
|
|
|
@ -115,6 +115,7 @@ static SECStatus GetItem(SECItem* src, SECItem* dest, PRBool includeTag)
|
|||
return SECSuccess;
|
||||
}
|
||||
|
||||
dest->type = 0;
|
||||
dest->data = definite_length_decoder(src->data, src->len, &dest->len,
|
||||
includeTag);
|
||||
if (dest->data == NULL)
|
||||
|
|
Загрузка…
Ссылка в новой задаче