зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
6541dcc119
Коммит
edb69e7969
|
@ -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 */
|
||||
|
|
Загрузка…
Ссылка в новой задаче