Closed Bug 1257139 Opened 8 years ago Closed 8 years ago

some freebl coverity fixes

Categories

(NSS :: Libraries, defect)

defect
Not set
normal

Tracking

(firefox48 affected)

RESOLVED FIXED
Tracking Status
firefox48 --- affected

People

(Reporter: franziskus, Assigned: franziskus)

References

(Blocks 1 open bug)

Details

(Keywords: coverity, Whiteboard: CID 1356341, CID 1356340)

Attachments

(1 file)

      No description provided.
the second part is straight forward. For the first part I'm not sure if that's was typo or if there's a logic behind it I (and coverity) don't understand. If in doubt, ask Bob.
Attachment #8731187 - Flags: review?(ttaubert)
Comment on attachment 8731187 [details] [diff] [review]
freebl-coverity.patch

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

*pVfy == NULL seems the right thing to check, we otherwise might deref it in the condition multiple times, and also further down when calling makeGfromIndex().
Attachment #8731187 - Flags: review?(ttaubert) → review+
https://hg.mozilla.org/projects/nss/rev/466460a80ac6
Status: NEW → 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: