Closed Bug 401072 Opened 17 years ago Closed 16 years ago

Memory leak in sftkdb_ReadSecmodDB.

Categories

(NSS :: Libraries, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 404919

People

(Reporter: slavomir.katuscak+mozilla, Assigned: rrelyea)

Details

(Keywords: memory-leak)

Variable olddbname allocated and used in sftkdb_ReadSecmodDB is not freed on exit of this function. This problem appeared in memory leak testing on upgraded databases.

Memory Leak (mel):
Found leaked block of size 142 bytes at address 0x10075e328
At time of allocation, the call stack was:
    [1] PR_Realloc() at line 482 in "prmem.c"
    [2] GrowStuff() at line 1074 in "prprf.c"
    [3] dosprintf() at line 720 in "prprf.c"
    [4] PR_vsmprintf() at line 1127 in "prprf.c"
    [5] PR_smprintf() at line 1105 in "prprf.c"
    [6] sftk_getOldSecmodName() at line 187 in "sftkmod.c"
    [7] sftkdb_ReadSecmodDB() at line 384 in "sftkmod.c"
    [8] NSC_ModuleDBFunc() at line 2339 in "pkcs11.c"
    [9] SECMOD_GetModuleSpecList() at line 232 in "pk11pars.c"
    [10] SECMOD_LoadModule() at line 332 in "pk11pars.c"
    [11] nss_Init() at line 487 in "nssinit.c"
    [12] NSS_Init() at line 543 in "nssinit.c"
    [13] main() at line 1173 in "ocspclnt.c"
Assignee: nobody → rrelyea
Keywords: mlk
Priority: -- → P2
Target Milestone: --- → 3.12
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
As this is duplicate of 404919 which is already fixed, I'm removing this bug
from list of ignored leaks.
You need to log in before you can comment on or make changes to this bug.