mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 16:58:38 +09:00
[NSS] Avoid leak in pkcs12 decoder.
This commit is contained in:
parent
425f38ff84
commit
fe21538da4
1 changed files with 1 additions and 0 deletions
|
|
@ -829,6 +829,7 @@ sec_pkcs12_decoder_asafes_notify(void *arg, PRBool before, void *dest,
|
|||
safeContentsCtx->safeContentsA1Dcx = NULL;
|
||||
}
|
||||
cinfo = SEC_PKCS7DecoderFinish(p12dcx->currentASafeP7Dcx);
|
||||
SEC_ASN1DecoderClearFilterProc(p12dcx->aSafeA1Dcx);
|
||||
p12dcx->currentASafeP7Dcx = NULL;
|
||||
if (!cinfo) {
|
||||
p12dcx->errorValue = PORT_GetError();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue