Skip to content

Commit

Permalink
Fix bug 211049. Another issue with empty pointer lists from group
Browse files Browse the repository at this point in the history
decodings.  Patch by Wan-Teh Chang <wtc@netscape.com>.
  • Loading branch information
nelsonb%netscape.com committed Jul 1, 2003
1 parent 3df3923 commit e198d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security/nss/lib/certdb/xconst.c
Expand Up @@ -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 */
Expand Down

0 comments on commit e198d7d

Please sign in to comment.