This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/3889] New: dlerror leaks memory


Valgrind reported this leak in dlerror on Red Hat Enterprise Linux 3:

==4630==    at 0x442972F: malloc (vg_replace_malloc.c:149)
==4630==    by 0x629989B: vasprintf (in /lib/tls/libc-2.3.2.so)
==4630==    by 0x627EF7C: asprintf (in /lib/tls/libc-2.3.2.so)
==4630==    by 0x45DD3BE: dlerror (in /lib/libdl-2.3.2.so)
==4630==    by 0x4574A19: DLLErrorInternal (prlink.c:246)
==4630==    by 0x45751D4: pr_LoadLibraryByPathname (prlink.c:1115)
==4630==    by 0x4574FE4: PR_LoadLibraryWithFlags (prlink.c:580)
==4630==    by 0x457504D: PR_LoadLibrary (prlink.c:604)
==4630==    by 0x44DC6B5: SECMOD_LoadPKCS11Module (pk11load.c:273)
==4630==    by 0x44F439A: SECMOD_AddModule (pk11util.c:487)
==4630==    by 0x44F4612: SECMOD_AddNewModuleEx (pk11util.c:586)
==4630==    by 0x44F4771: SECMOD_AddNewModule (pk11util.c:626)
==4630==    by 0x44B54E4: nss_FindExternalRoot (nssinit.c:372)
==4630==    by 0x44B57E5: nss_Init (nssinit.c:505)
==4630==    by 0x44B59B1: NSS_Initialize (nssinit.c:583)
==4630==    by 0x804E67A: main (strsclnt.c:1441)

-- 
           Summary: dlerror leaks memory
           Product: glibc
           Version: 2.3.2
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: wtchang at redhat dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=3889

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]