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

decodings.  Patch by Wan-Teh Chang <wtc@netscape.com>.
This commit is contained in:
nelsonb%netscape.com 2003-07-01 01:16:57 +00:00
Родитель 6541dcc119
Коммит edb69e7969
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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