Closed
Bug 96202
Opened 23 years ago
Closed 23 years ago
memory leak in prng_fips1861.c
Categories
(NSS :: Libraries, defect, P2)
Tracking
(Not tracked)
RESOLVED
WONTFIX
3.4
People
(Reporter: jeff, Assigned: bugz)
References
Details
(Keywords: memory-leak, perf)
NSS_Shutdown does not call RNG_RNGShutdown() to clean up RNG-allocated
data.
Please add a call to RNG_RNGShutdown() near the bottom of NSS_Shutdown().
Comment 2•23 years ago
|
||
Marking NEW.
Depends on: 104741
Comment 4•23 years ago
|
||
Assigned the bug to Ian.
Assignee: relyea → ian.mcgreer
Priority: -- → P2
Target Milestone: --- → 3.4
Assignee | ||
Comment 5•23 years ago
|
||
See relyea's comments at:
http://lxr.mozilla.org/mozilla/source/security/nss/lib/softoken/pkcs11.c#2227
If someone was to shutdown NSS (say, for a profile change), calling
RNG_Shutdown() would lose all of the collected (and very useful) entropy. It is
better to keep that entropy, and let the rng context die with the process. If
you want to avoid having this memory show up as a leak, use the define LEAK_TEST.
Marking WONTFIX.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•