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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user