mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bugzilla bug 300068: fixed the bug that "collection" is used uninitialized
if "td", "c", or "cc" is NULL. The patch is contributed by Wolfgang Rosenauer <mozilla@rosenauer.org>. r=wtc.
This commit is contained in:
parent
e531941425
commit
6893edd94b
@ -35,7 +35,7 @@
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifdef DEBUG
|
||||
static const char CVS_ID[] = "@(#) $RCSfile: certificate.c,v $ $Revision: 1.55 $ $Date: 2005/06/28 17:55:29 $";
|
||||
static const char CVS_ID[] = "@(#) $RCSfile: certificate.c,v $ $Revision: 1.56 $ $Date: 2005/07/08 17:06:15 $";
|
||||
#endif /* DEBUG */
|
||||
|
||||
#ifndef NSSPKI_H
|
||||
@ -481,7 +481,7 @@ nssCertificate_BuildChain (
|
||||
{
|
||||
NSSCertificate **rvChain = NULL;
|
||||
NSSUsage issuerUsage = *usage;
|
||||
nssPKIObjectCollection *collection;
|
||||
nssPKIObjectCollection *collection = NULL;
|
||||
PRUint32 rvCount = 0;
|
||||
PRStatus st;
|
||||
PRStatus ret = PR_SUCCESS;
|
||||
|
Loading…
Reference in New Issue
Block a user