Closed
Bug 135808
Opened 22 years ago
Closed 22 years ago
STAN_GetDefaultCryptoToken() leaks a slot reference
Categories
(NSS :: Libraries, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
3.5
People
(Reporter: wtc, Assigned: bugz)
References
Details
(Whiteboard: [adt2 RTM])
Attachments
(1 file, 1 obsolete file)
581 bytes,
patch
|
rrelyea
:
review+
|
Details | Diff | Splinter Review |
STAN_GetDefaultCryptoToken() in pki3hack.c calls PK11_GetInternalSlot() but does not free the slot reference.
Reporter | ||
Comment 1•22 years ago
|
||
Changed the QA contact to Bishakha.
QA Contact: sonja.mirtitsch → bishakhabanerjee
Reporter | ||
Comment 2•22 years ago
|
||
Ian, I am not sure if this is really a slot reference leak. If it is, this patch should fix the leak.
Reporter | ||
Comment 3•22 years ago
|
||
Assigned the bug to Ian.
Assignee: wtc → ian.mcgreer
Priority: -- → P1
Target Milestone: --- → 3.5
Assignee | ||
Comment 4•22 years ago
|
||
There are no longer any callers of this function. It was originally (3.4) used to get an NSSToken to do hashing operations on. This has been replaced by PK11_GetInternalSlot/PK11_FreeSlot (see devtoken.c). Therefore, I propose to remove it entirely.
Attachment #82953 -
Attachment is obsolete: true
Assignee | ||
Comment 5•22 years ago
|
||
checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 6•22 years ago
|
||
Comment on attachment 82962 [details] [diff] [review] remove this function Not only is the patch obvious, if there is anything wrong with the patch the linker will tell us immediately:). bob
Attachment #82962 -
Flags: review+
Comment 7•22 years ago
|
||
adt1.0.1+ (on ADT's behalf) for checkin to the 1.0 branch. Pls check this in asap. thanks!
Whiteboard: [adt2 RTM]
Reporter | ||
Updated•22 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•