This commit is contained in:
Adam Ierymenko 2016-08-04 10:18:33 -07:00
parent 404a0bbddd
commit 5cf410490e
5 changed files with 58 additions and 39 deletions

View file

@ -155,6 +155,9 @@ bool CertificateOfMembership::agreesWith(const CertificateOfMembership &other) c
unsigned int myidx = 0;
unsigned int otheridx = 0;
if ((_qualifierCount == 0)||(other._qualifierCount == 0))
return false;
while (myidx < _qualifierCount) {
// Fail if we're at the end of other, since this means the field is
// missing.