Closed Bug 90819 Opened 25 years ago Closed 25 years ago

String leaks in nsScriptSecurityManager::InitPrincipals

Categories

(Core :: Security: CAPS, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

()

VERIFIED DUPLICATE of bug 91619

People

(Reporter: bratell, Assigned: security-bugs)

Details

(Keywords: memory-leak)

Purify says that the string from mSecurityPrefs->SecurityGetCharPref(aPrefNames[c], &id) leaks. It is stored in the variable |id|, and I see lots of ways it can leak in nsScriptSecurityManager::InitPrincipals(PRUint32 aPrefCount, const char** aPrefNames)
Keywords: mlk
*** This bug has been marked as a duplicate of 91619 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Marking VERIFIED DUPLICATE.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.