mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 01:17:34 +09:00
imported changes from mozilla NSS:
- Bug 1755555 - Hold tokensLock through nssToken_GetSlot calls in nssTrustDomain_GetActiveSlots. r=rrelyea (a36477f0) - Bug 1370866 - Check return value of PK11Slot_GetNSSToken. r=djackson (d7e8c2df) - Bug 1751157 - Throw illegal_parameter alert for illegal extensions in handshake message. r=djackson (8fd5ca0c)
This commit is contained in:
parent
e350f0c040
commit
c403014cbe
14 changed files with 282 additions and 106 deletions
|
|
@ -1391,6 +1391,7 @@ TokenCRLStillExists(CERTSignedCrl* crl)
|
|||
arena = NSSArena_Create();
|
||||
PORT_Assert(arena);
|
||||
if (!arena) {
|
||||
(void)nssToken_Destroy(instance.token);
|
||||
return PR_FALSE;
|
||||
}
|
||||
|
||||
|
|
@ -1412,6 +1413,7 @@ TokenCRLStillExists(CERTSignedCrl* crl)
|
|||
xstatus = PR_FALSE;
|
||||
}
|
||||
NSSArena_Destroy(arena);
|
||||
(void)nssToken_Destroy(instance.token);
|
||||
return xstatus;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue