Closed
Bug 289529
Opened 19 years ago
Closed 19 years ago
NSC_CopyObject crashes when trying to copy token object
Categories
(NSS :: Libraries, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
3.10
People
(Reporter: nelson, Assigned: nelson)
Details
Attachments
(1 file)
901 bytes,
patch
|
rrelyea
:
review+
|
Details | Diff | Splinter Review |
NSC_CopyObject calls sftk_CopyObject to copy the object. But sftk_CopyObject fails if it is asked to copy a token object. When it returns, the code frees the target object, but then forgets to return. Instead it falls through into a call to sftk_handleObject, which crashes. Patch forthcoming.
Comment 2•19 years ago
|
||
This limitation of C_CopyObject seriously compromises the proposed fix for bug 274538, which involved copying a token key to a session key.
Comment 3•19 years ago
|
||
Comment on attachment 180032 [details] [diff] [review] patch r+ relyea Doh! I See bug 289530 is open for the other part of the problem.. bob
Attachment #180032 -
Flags: review?(rrelyea) → review+
Assignee | ||
Comment 4•19 years ago
|
||
Fixed on trunk for 3.10
Priority: -- → P1
Target Milestone: --- → 3.10
Assignee | ||
Updated•19 years ago
|
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 5•19 years ago
|
||
This was fixed in rev 1.100 of pkcs11.c on 04-08-2005.
You need to log in
before you can comment on or make changes to this bug.
Description
•