Closed Bug 95989 Opened 23 years ago Closed 23 years ago

certdb/genname.c: cert_CompareNameWithConstraints handles certURI case incorrectly.

Categories

(NSS :: Libraries, defect, P1)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mozilla-bugs, Assigned: julien.pierre)

References

()

Details

If name-> type is certRFC822Name, the start variable is (correctly) reset to 0 before while(nameString[start] != '@' && nameString[start + 1] != '\0') { start++; } However in certURI case, start is (incorrectly) not reset to 0 before while(PORT_Strncmp(nameString + start, "://", 3) != 0 && nameString[start + 3] != '\0') { start++; }
Blocks: 59652
Bob, I think what the bug reporter said is right but please take a look at it.
Assignee: wtc → relyea
Assigned the bug to Julien.
Assignee: relyea → jpierre
Priority: -- → P1
Target Milestone: --- → 3.4
This bug was fixed by Bob on September 20 for NSS 3.4. Also checking it into the 3.3 branch
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Changed target milestone to 3.3.2 because the fix was checked into the 3.3 branch.
Target Milestone: 3.4 → 3.3.2
You need to log in before you can comment on or make changes to this bug.