From edb69e79694918480a2b5991b3cf6e00b43a4d7d Mon Sep 17 00:00:00 2001 From: "nelsonb%netscape.com" Date: Tue, 1 Jul 2003 01:16:57 +0000 Subject: [PATCH] Fix bug 211049. Another issue with empty pointer lists from group decodings. Patch by Wan-Teh Chang . --- security/nss/lib/certdb/xconst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/nss/lib/certdb/xconst.c b/security/nss/lib/certdb/xconst.c index d86483098f9..6bd95ba2273 100644 --- a/security/nss/lib/certdb/xconst.c +++ b/security/nss/lib/certdb/xconst.c @@ -176,7 +176,7 @@ CERT_DecodeAltNameExtension(PRArenaPool *arena, SECItem *EncodedAltName) if (rv == SECFailure) { goto loser; } - if (encodedContext.encodedGenName) + if (encodedContext.encodedGenName && encodedContext.encodedGenName[0]) return cert_DecodeGeneralNames(arena, encodedContext.encodedGenName); /* Extension contained an empty GeneralNames sequence */ /* Treat as extension not found */