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

RESOLVED FIXED in 3.3.2

Status

NSS
Libraries
P1
normal
RESOLVED FIXED
16 years ago
16 years ago

People

(Reporter: Aleksey Nogin, Assigned: Julien Pierre)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

16 years ago
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++;
   }
(Reporter)

Updated

16 years ago
Blocks: 59652

Comment 1

16 years ago
Bob, I think what the bug reporter said is right but
please take a look at it.
Assignee: wtc → relyea

Comment 2

16 years ago
Assigned the bug to Julien.
Assignee: relyea → jpierre
Priority: -- → P1
Target Milestone: --- → 3.4
(Assignee)

Comment 3

16 years ago
This bug was fixed by Bob on September 20 for NSS 3.4. Also checking it into the
3.3 branch
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED

Comment 4

16 years ago
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.