mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 20:07:30 +09:00
[NSS] Ensure zero-initialization of collectArgs.cert
This commit is contained in:
parent
ecb18ddf57
commit
dcb76fe0f7
1 changed files with 2 additions and 0 deletions
|
|
@ -520,6 +520,8 @@ CERT_DecodeCertFromPackage(char *certbuf, int certlen)
|
||||||
CERTCertificate *cert = NULL;
|
CERTCertificate *cert = NULL;
|
||||||
|
|
||||||
collectArgs.arena = PORT_NewArena(DER_DEFAULT_CHUNKSIZE);
|
collectArgs.arena = PORT_NewArena(DER_DEFAULT_CHUNKSIZE);
|
||||||
|
collectArgs.cert.data = NULL;
|
||||||
|
collectArgs.cert.len = 0;
|
||||||
|
|
||||||
rv = CERT_DecodeCertPackage(certbuf, certlen, collect_certs,
|
rv = CERT_DecodeCertPackage(certbuf, certlen, collect_certs,
|
||||||
(void *)&collectArgs);
|
(void *)&collectArgs);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue