Closed Bug 1254452 Opened 8 years ago Closed 8 years ago

[CID 1247653] Unused value in certutil.c

Categories

(NSS :: Libraries, defect)

defect
Not set
normal

Tracking

(firefox48 affected)

RESOLVED FIXED
Tracking Status
firefox48 --- affected

People

(Reporter: dimi, Assigned: dimi)

References

(Blocks 1 open bug)

Details

(Keywords: coverity, Whiteboard: CID1247653)

Attachments

(1 file)

rv in outputCertOrExtension is not handled when error wirting extension
Blocks: 1234527
Keywords: coverity
Whiteboard: CID1247653
Assignee: nobody → dlee
Status: NEW → ASSIGNED
Attached patch Fix unused valueSplinter Review
Remove |rv = SECSuccess| so outputCertOrExtension will return failure when PR_Write error.

But i am not sure if the ALWAYS set SECSuccess is intentional...
Attachment #8727738 - Flags: review?(franziskuskiefer)
Comment on attachment 8727738 [details] [diff] [review]
Fix unused value

Review of attachment 8727738 [details] [diff] [review]:
-----------------------------------------------------------------

lgtm
Attachment #8727738 - Flags: review?(franziskuskiefer) → review+
https://hg.mozilla.org/projects/nss/rev/9ff73c1bcd20
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.24
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: