зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
e531941425
Коммит
6893edd94b
|
@ -35,7 +35,7 @@
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
|
||||||
#ifdef DEBUG
|
#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 */
|
#endif /* DEBUG */
|
||||||
|
|
||||||
#ifndef NSSPKI_H
|
#ifndef NSSPKI_H
|
||||||
|
@ -481,7 +481,7 @@ nssCertificate_BuildChain (
|
||||||
{
|
{
|
||||||
NSSCertificate **rvChain = NULL;
|
NSSCertificate **rvChain = NULL;
|
||||||
NSSUsage issuerUsage = *usage;
|
NSSUsage issuerUsage = *usage;
|
||||||
nssPKIObjectCollection *collection;
|
nssPKIObjectCollection *collection = NULL;
|
||||||
PRUint32 rvCount = 0;
|
PRUint32 rvCount = 0;
|
||||||
PRStatus st;
|
PRStatus st;
|
||||||
PRStatus ret = PR_SUCCESS;
|
PRStatus ret = PR_SUCCESS;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче