Closed Bug 220963 Opened 21 years ago Closed 21 years ago

PK11_ImportSymKeyWithFlags can dereference null pointer

Categories

(NSS :: Libraries, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stevepnscp, Assigned: wtc)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030925 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030925 in pk11skey.c, PK11_ImportSymKeyWithFlags() dereferences a null pointer if pk11_ImportSymKeyWithTempl() fails and isPerm is set to true. Reproducible: Always Steps to Reproduce:
*** Bug 220961 has been marked as a duplicate of this bug. ***
*** Bug 220962 has been marked as a duplicate of this bug. ***
Attached patch Proposed patchSplinter Review
Attachment #132479 - Flags: review?(rrelyea0264)
Comment on attachment 132479 [details] [diff] [review] Proposed patch Looks good. There should be another bug about ImportSymKey not working correctly if isPerm is specified. r=relyea
Attachment #132479 - Flags: review?(rrelyea0264) → review+
Patch checked into the NSS tip (NSS 3.9).
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.9
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: