Closed Bug 96202 Opened 23 years ago Closed 23 years ago

memory leak in prng_fips1861.c

Categories

(NSS :: Libraries, defect, P2)

x86
Windows 2000
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

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().
Assigned the bug to Bob.
Assignee: wtc → relyea
Marking NEW.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: mlk, perf
Blocks: 92580
*** Bug 93225 has been marked as a duplicate of this bug. ***
No longer blocks: 92580
Assigned the bug to Ian.
Assignee: relyea → ian.mcgreer
Priority: -- → P2
Target Milestone: --- → 3.4
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.