Closed
Bug 135809
Opened 22 years ago
Closed 22 years ago
PBE_CreateContext() and SEC_PKCS5GetIV() leak a slot reference
Categories
(NSS :: Libraries, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
3.5
People
(Reporter: wtc, Assigned: rrelyea)
References
Details
(Whiteboard: [adt2 RTM])
Attachments
(1 file)
1.55 KB,
patch
|
rrelyea
:
review+
|
Details | Diff | Splinter Review |
PBE_CreateContext() and SEC_PKCS5GetIV() in pk11pbe.c call PK11_GetInternalSlot() but do not free the slot reference.
Reporter | ||
Comment 1•22 years ago
|
||
I just wanted to add that the slot is passed to PK11_RawPBEKeyGen() to generate a symKey, which gets its own reference to the slot (in PK11_CreateSymKey()). So PBE_CreateContext() and SEC_PKCS5GetIV() need to free their reference to the slot.
Reporter | ||
Comment 2•22 years ago
|
||
Changed the QA contact to Bishakha.
QA Contact: sonja.mirtitsch → bishakhabanerjee
Reporter | ||
Comment 3•22 years ago
|
||
This patch is the obvious fix. Bob, please review it.
Reporter | ||
Comment 4•22 years ago
|
||
Assigned the bug to Bob.
Assignee: wtc → relyea
Priority: -- → P1
Target Milestone: --- → 3.5
Assignee | ||
Comment 5•22 years ago
|
||
Comment on attachment 82957 [details] [diff] [review] Proposed patch Yup, this is the obvious patch.
Attachment #82957 -
Flags: review+
Reporter | ||
Comment 6•22 years ago
|
||
Patch checked into the tip of NSS.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
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
•