Fix bug 211049. Another issue with empty pointer lists from group

decodings.  Patch by Wan-Teh Chang <wtc@netscape.com>.


git-svn-id: svn://10.0.0.236/trunk@144326 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
nelsonb%netscape.com
2003-07-01 01:16:57 +00:00
parent cefb683833
commit 02bbbd5bfa

View File

@@ -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 */