diff options
author | wchang0222%aol.com <devnull@localhost> | 2003-11-12 23:25:33 +0000 |
---|---|---|
committer | wchang0222%aol.com <devnull@localhost> | 2003-11-12 23:25:33 +0000 |
commit | 44ab6cc95e36c22b6142cbdc16d360d74637f1a9 (patch) | |
tree | 40831a457165969c26380dccc276aa1f04713d22 | |
parent | 92b9482efebbdd1a8ad8f266cb7250116bc2ed19 (diff) | |
download | nss-hg-44ab6cc95e36c22b6142cbdc16d360d74637f1a9.tar.gz |
Added a comment to note a question I had while reviewing the code.
-rw-r--r-- | security/nss/cmd/dbck/dbck.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/security/nss/cmd/dbck/dbck.c b/security/nss/cmd/dbck/dbck.c index f6e13c461..b906b84a8 100644 --- a/security/nss/cmd/dbck/dbck.c +++ b/security/nss/cmd/dbck/dbck.c @@ -1489,6 +1489,12 @@ findNewestSubjectForEmail(CERTCertDBHandle *handle, int subjectNum, CERT_DestroyCertificate(cert); } + /* + * XXX Should we make sure that subjectEntry1->emailAddr is not + * a null pointer or an empty string before going into the next + * two for loops, which pass it to PORT_Strcmp? + */ + /* Loop over the remaining subjects. */ for (i=subjectNum+1; i<subjects.numEntries; i++) { subjectEntry2 = (certDBEntrySubject*)&subjects.entries[i]; |