This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/680] New: LD_PRELOAD envvars free to lost
- From: "descript at php dot net" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 19 Jan 2005 05:34:42 -0000
- Subject: [Bug libc/680] New: LD_PRELOAD envvars free to lost
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
LD_PRELOAD can load some additionals library. process_envvars() will add these lib into preloadlist.
preloadlist will be reused into dl_main(). A buffer list will be allocated with strdupa(). This buffer is not
freeED after strsep().
elf/rtld.c +1050 on 2.3.3.
I advise to free list just after the while & before HP_TIMING_NOW().
it's nothing (i know) :)
--
Summary: LD_PRELOAD envvars free to lost
Product: glibc
Version: 2.3.3
Status: NEW
Severity: enhancement
Priority: P2
Component: libc
AssignedTo: gotom at debian dot or dot jp
ReportedBy: descript at php dot net
CC: glibc-bugs at sources dot redhat dot com
http://sources.redhat.com/bugzilla/show_bug.cgi?id=680
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.