Closed Bug 171422 Opened 22 years ago Closed 22 years ago

Missing return NULL statement in nssTrust_GetCERTCertTrustForCert, pki3hack.c

Categories

(NSS :: Libraries, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wtc, Assigned: bugz)

Details

Attachments

(1 file)

In rev. 1.68 of pki3hack.c, function
nssTrust_GetCERTCertTrustForCert, line 515,
we have

   515          if (!rvTrust) {
   516          }

It seems that there should be a "return NULL;"
statement inside the body of 'if'.
I found that 'rvTrust' cannot be NULL at that
point.  So perhaps the best fix is to delete
the if statement altogether.
Attached patch Proposed patchSplinter Review
Severity: normal → trivial
Priority: -- → P1
Target Milestone: --- → 3.6
Attachment #101010 - Flags: review+
Fix checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: