glibc/elf
Carlos O'Donell 7208a313b9 dl_open_worker: Memset all of seen array.
The seen array was doubled in size recently, but the memset to clear
the array was not adjusted. We adjust the memset to always be correct
regardless of the size of seen.

---

2013-04-06  Carlos O'Donell  <carlos@redhat.com>

	[BZ #15309]
	* elf/dl-open.c (dl_open_worker): memset all of seen array.
2013-04-06 17:00:02 -04:00
..
cache.c ARM: Support loading unmarked objects from cache. 2013-02-08 12:26:12 -05:00
chroot_canon.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
circleload1.c
circlemod1.c
circlemod1a.c
circlemod2.c
circlemod2a.c
circlemod3.c
circlemod3a.c
constload1.c
constload2.c
constload3.c
dblload.c
dblloadmod1.c
dblloadmod2.c
dblloadmod3.c
dblunload.c
dep1.c
dep2.c
dep3.c
dep4.c
dl-addr.c New function _dl_find_dso_for_object 2013-02-18 18:00:17 +05:30
dl-brk.c
dl-cache.c Add more comments to _dl_load_cache_lookup(). 2013-02-08 12:55:34 -05:00
dl-caller.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-close.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-conflict.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-debug.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-deps.c Remove lots of inline keywords. 2013-02-07 14:44:18 -08:00
dl-dst.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-environ.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-error.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-execstack.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-fini.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-fptr.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-hwcaps.c Fix NEED_DL_SYSINFO_DSO conditionals. 2013-03-01 14:44:44 -08:00
dl-init.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-iteratephdr.c Consolidate declarations of _dl_phdr, _dl_phnum. 2013-03-28 15:33:57 -07:00
dl-libc.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-load.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-lookup.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-minimal.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-misc.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-object.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-open.c dl_open_worker: Memset all of seen array. 2013-04-06 17:00:02 -04:00
dl-origin.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-profile.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-profstub.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-reloc.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-runtime.c Remove miscellaneous bounded-pointers relics in C code. 2013-02-15 00:51:53 +00:00
dl-sbrk.c
dl-scope.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-support.c Make _dl_phdr pointer to const. 2013-03-28 15:39:32 -07:00
dl-sym.c New function _dl_find_dso_for_object 2013-02-18 18:00:17 +05:30
dl-symaddr.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-sysdep.c Fix NEED_DL_SYSINFO_DSO conditionals. 2013-03-01 14:44:44 -08:00
dl-tls.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-trampoline.c
dl-tsd.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-version.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
do-rel.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dynamic-link.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
elf.h Add ARM relocation constants to elf/elf.h. 2013-02-20 16:19:04 +00:00
enbl-secure.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
failobj.c Update. 2000-12-17 17:50:56 +00:00
filter.c
filtmod1.c
filtmod2.c
firstobj.c
gen-trusted-dirs.awk
genrtldtbl.awk
get-dynamic-info.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
global.c
globalmod1.c
ifuncdep1.c
ifuncdep1pic.c
ifuncdep2.c
ifuncdep2pic.c
ifuncdep5.c
ifuncdep5pic.c
ifuncmain1.c
ifuncmain1pic.c
ifuncmain1picstatic.c
ifuncmain1pie.c
ifuncmain1static.c
ifuncmain1staticpic.c
ifuncmain1staticpie.c
ifuncmain1vis.c
ifuncmain1vispic.c
ifuncmain1vispie.c
ifuncmain2.c
ifuncmain2pic.c
ifuncmain2picstatic.c
ifuncmain2static.c
ifuncmain3.c
ifuncmain4.c
ifuncmain4picstatic.c
ifuncmain4static.c
ifuncmain5.c
ifuncmain5pic.c
ifuncmain5picstatic.c
ifuncmain5pie.c
ifuncmain5static.c
ifuncmain5staticpic.c
ifuncmain6pie.c
ifuncmain7.c
ifuncmain7pic.c
ifuncmain7picstatic.c
ifuncmain7pie.c
ifuncmain7static.c
ifuncmod1.c
ifuncmod3.c
ifuncmod5.c
ifuncmod6.c
initfirst.c
interp.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
lateglobal.c
ldconfig.c Update copyright years. 2013-01-01 00:11:43 -08:00
ldd.bash.in Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
link.h Improve link_map.l_addr comment. 2013-02-02 10:29:17 +01:00
loadfail.c
loadtest.c
ltglobmod1.c
ltglobmod2.c
Makefile Add support for rtld directory different from slib directory 2013-03-19 12:07:26 +01:00
multiload.c
neededobj1.c
neededobj2.c
neededobj3.c
neededobj4.c
neededobj5.c
neededobj6.c
neededtest2.c
neededtest3.c
neededtest4.c Remove pre-ISO C support 2012-01-07 23:57:22 -05:00
neededtest.c
next.c
nextmod1.c
nextmod2.c
nodel2mod1.c
nodel2mod2.c
nodel2mod3.c
nodelete2.c
nodelete.c
nodelmod1.c
nodelmod2.c
nodelmod3.c
nodelmod4.c
nodlopen2.c
nodlopen.c
nodlopenmod2.c
nodlopenmod.c
noload.c Fix memory leak in dlopen with RTLD_NOLOAD. 2011-02-25 20:49:48 -05:00
order2.c
order2mod1.c
order2mod2.c
order2mod3.c
order2mod4.c
order.c
origtest.c
pathoptobj.c
pldd-xx.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
pldd.c unify xmalloc prototypes & friends 2013-02-18 17:16:05 -05:00
preloadtest.c
readelflib.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
readlib.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
reldep2.c
reldep3.c
reldep4.c
reldep4mod1.c
reldep4mod2.c
reldep4mod3.c
reldep4mod4.c
reldep5.c
reldep6.c
reldep6mod0.c
reldep6mod1.c
reldep6mod2.c
reldep6mod3.c
reldep6mod4.c
reldep7.c
reldep7mod1.c
reldep7mod2.c
reldep8.c
reldep8mod1.c
reldep8mod2.c
reldep8mod3.c
reldep9.c
reldep9mod1.c
reldep9mod2.c
reldep9mod3.c
reldep.c
reldepmod1.c
reldepmod2.c
reldepmod3.c
reldepmod4.c
reldepmod5.c
reldepmod6.c
resolvfail.c
restest1.c
restest2.c
rtld-debugger-interface.txt Add SystemTap static probes to the runtime linker. [BZ #14298] 2012-07-27 14:03:20 +01:00
rtld-Rules Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
rtld.c Fix NEED_DL_SYSINFO_DSO conditionals. 2013-03-01 14:44:44 -08:00
setup-vdso.h Fix NEED_DL_SYSINFO_DSO conditionals. 2013-03-01 14:44:44 -08:00
sln.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sofini.c Remove .ctors' and .dtors' output sections 2010-12-24 20:14:37 -05:00
soinit.c Fix missing .ctors/.dtors lead word in soinit 2011-06-27 20:26:54 -07:00
sotruss-lib.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sotruss.ksh Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sprof.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
static-stubs.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
testobj1_1.c
testobj1.c
testobj2.c
testobj3.c
testobj4.c
testobj5.c
testobj6.c
testobj.h
tls-macros.h Split tls-macros.h into sysdeps directories. 2012-07-17 11:30:58 +00:00
tlsdeschtab.h Remove lots of inline keywords. 2013-02-07 14:44:18 -08:00
tst-addr1.c
tst-align2.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
tst-align.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
tst-alignmod2.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
tst-alignmod.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
tst-array1-static.c
tst-array1.c Set constructor/destructor priority to 1000 2012-11-16 07:40:38 -08:00
tst-array1.exp
tst-array2.c
tst-array2.exp
tst-array2dep.c Set constructor/destructor priority to 1000 2012-11-16 07:40:38 -08:00
tst-array3.c
tst-array4.c
tst-array4.exp
tst-array5-static.c
tst-array5-static.exp
tst-array5.c
tst-array5.exp
tst-array5dep.c
tst-audit1.c
tst-audit2.c Cleanup of configuration options 2011-09-10 14:34:15 -04:00
tst-audit3.c
tst-audit4.c Fix check for AVX enablement 2011-07-20 21:21:03 -04:00
tst-audit5.c
tst-audit6.c Fix check for AVX enablement 2011-07-20 21:21:03 -04:00
tst-audit7.c
tst-audit8.c Skip audit if l_reloc_result is NULL 2012-11-14 15:44:40 -08:00
tst-auditmod1.c Move testsuite audit definitions to sysdeps tst-audit.h files. 2012-07-26 11:29:07 +00:00
tst-auditmod3a.c
tst-auditmod3b.c Move testsuite audit definitions to sysdeps tst-audit.h files. 2012-07-26 11:29:07 +00:00
tst-auditmod4a.c
tst-auditmod4b.c Move testsuite audit definitions to sysdeps tst-audit.h files. 2012-07-26 11:29:07 +00:00
tst-auditmod5a.c
tst-auditmod5b.c Move testsuite audit definitions to sysdeps tst-audit.h files. 2012-07-26 11:29:07 +00:00
tst-auditmod6a.c
tst-auditmod6b.c Move testsuite audit definitions to sysdeps tst-audit.h files. 2012-07-26 11:29:07 +00:00
tst-auditmod6c.c Move testsuite audit definitions to sysdeps tst-audit.h files. 2012-07-26 11:29:07 +00:00
tst-auditmod7a.c
tst-auditmod7b.c Move testsuite audit definitions to sysdeps tst-audit.h files. 2012-07-26 11:29:07 +00:00
tst-deep1.c
tst-deep1mod1.c
tst-deep1mod2.c
tst-deep1mod3.c
tst-dlmodcount.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
tst-dlmopen1.c
tst-dlmopen1mod.c
tst-dlmopen2.c
tst-dlmopen3.c
tst-dlopenrpath.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
tst-dlopenrpathmod.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
tst-execstack-mod.c
tst-execstack-needed.c
tst-execstack-prog.c
tst-execstack.c Fix stack size and address inconsistency due to executable stack 2012-05-26 09:48:26 +05:30
tst-global1.c
tst-initorder2.c Correct cycle detection during dependency sorting 2011-08-22 16:08:16 -04:00
tst-initorder2.exp Correct cycle detection during dependency sorting 2011-08-22 16:08:16 -04:00
tst-initorder.c Fix ordering of DSO constructors and destructors. 2011-01-19 16:00:11 -05:00
tst-initorder.exp Fix ordering of DSO constructors and destructors. 2011-01-19 16:00:11 -05:00
tst-initordera1.c Fix ordering of DSO constructors and destructors. 2011-01-19 16:00:11 -05:00
tst-initordera2.c Fix ordering of DSO constructors and destructors. 2011-01-19 16:00:11 -05:00
tst-initordera3.c Fix ordering of DSO constructors and destructors. 2011-01-19 16:00:11 -05:00
tst-initordera4.c Fix ordering of DSO constructors and destructors. 2011-01-19 16:00:11 -05:00
tst-initorderb1.c Fix ordering of DSO constructors and destructors. 2011-01-19 16:00:11 -05:00
tst-initorderb2.c Fix ordering of DSO constructors and destructors. 2011-01-19 16:00:11 -05:00
tst-leaks1-static.c Check the main application only if SHARED is defined 2012-10-20 16:16:59 -07:00
tst-leaks1.c
tst-order-a1.c Fix ordering of DSO constructors and destructors. 2011-01-19 16:00:11 -05:00
tst-order-a2.c Fix ordering of DSO constructors and destructors. 2011-01-19 16:00:11 -05:00
tst-order-a3.c Fix ordering of DSO constructors and destructors. 2011-01-19 16:00:11 -05:00
tst-order-a4.c Fix ordering of DSO constructors and destructors. 2011-01-19 16:00:11 -05:00
tst-order-b1.c Fix ordering of DSO constructors and destructors. 2011-01-19 16:00:11 -05:00
tst-order-b2.c Fix ordering of DSO constructors and destructors. 2011-01-19 16:00:11 -05:00
tst-order-main.c Fix ordering of DSO constructors and destructors. 2011-01-19 16:00:11 -05:00
tst-pathopt.c
tst-pathopt.sh Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
tst-pie1.c
tst-piemod1.c
tst-relsort1.c Fix warning 2012-05-17 22:00:57 +02:00
tst-relsort1mod1.c Sort objects before relocations 2012-01-27 15:05:19 -05:00
tst-relsort1mod2.c Sort objects before relocations 2012-01-27 15:05:19 -05:00
tst-rtld-load-self.sh Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
tst-stackguard1-static.c
tst-stackguard1.c Don't use GLIBC_PRIVATE errno outside of libraries 2013-02-04 10:01:54 +01:00
tst-thrlock.c
tst-tls1-static.c
tst-tls1.c
tst-tls2-static.c
tst-tls2.c
tst-tls3.c
tst-tls4.c
tst-tls5.c
tst-tls6.c
tst-tls7.c
tst-tls8.c
tst-tls9-static.c 2002-10-21 Roland McGrath <roland@redhat.com> 2002-10-22 06:22:38 +00:00
tst-tls9.c
tst-tls10.c Cleanup of configuration options 2011-09-10 14:34:15 -04:00
tst-tls10.h Cleanup of configuration options 2011-09-10 14:34:15 -04:00
tst-tls11.c Cleanup of configuration options 2011-09-10 14:34:15 -04:00
tst-tls12.c Cleanup of configuration options 2011-09-10 14:34:15 -04:00
tst-tls13.c
tst-tls14.c Cleanup of configuration options 2011-09-10 14:34:15 -04:00
tst-tls15.c
tst-tls16.c
tst-tls17.c
tst-tls18.c
tst-tls19.c Fix handling of static TLS in dlopen'ed objects 2011-05-14 21:25:43 -04:00
tst-tls19mod1.c Fix handling of static TLS in dlopen'ed objects 2011-05-14 21:25:43 -04:00
tst-tls19mod2.c Fix handling of static TLS in dlopen'ed objects 2011-05-14 21:25:43 -04:00
tst-tls19mod3.c Fix handling of static TLS in dlopen'ed objects 2011-05-14 21:25:43 -04:00
tst-tls-dlinfo.c
tst-tlsmod1.c
tst-tlsmod2.c
tst-tlsmod3.c
tst-tlsmod4.c
tst-tlsmod5.c
tst-tlsmod6.c
tst-tlsmod7.c Cleanup of configuration options 2011-09-10 14:34:15 -04:00
tst-tlsmod8.c Cleanup of configuration options 2011-09-10 14:34:15 -04:00
tst-tlsmod9.c Cleanup of configuration options 2011-09-10 14:34:15 -04:00
tst-tlsmod10.c
tst-tlsmod11.c Cleanup of configuration options 2011-09-10 14:34:15 -04:00
tst-tlsmod12.c Cleanup of configuration options 2011-09-10 14:34:15 -04:00
tst-tlsmod13.c Cleanup of configuration options 2011-09-10 14:34:15 -04:00
tst-tlsmod13a.c Cleanup of configuration options 2011-09-10 14:34:15 -04:00
tst-tlsmod14a.c Cleanup of configuration options 2011-09-10 14:34:15 -04:00
tst-tlsmod14b.c
tst-tlsmod15a.c
tst-tlsmod15b.c Cleanup of configuration options 2011-09-10 14:34:15 -04:00
tst-tlsmod16a.c Cleanup of configuration options 2011-09-10 14:34:15 -04:00
tst-tlsmod16b.c Cleanup of configuration options 2011-09-10 14:34:15 -04:00
tst-tlsmod17a.c
tst-tlsmod17b.c
tst-tlsmod18a.c
tst-unique1.c
tst-unique1mod1.c Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}. 2012-08-02 21:04:29 +02:00
tst-unique1mod2.c Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}. 2012-08-02 21:04:29 +02:00
tst-unique2.c
tst-unique2mod1.c Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}. 2012-08-02 21:04:29 +02:00
tst-unique2mod2.c Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}. 2012-08-02 21:04:29 +02:00
tst-unique3.cc Remove gets declarations in C++ tests. 2012-01-25 16:50:17 +00:00
tst-unique3.h Fix copy relocations handling of unique objects. 2011-03-10 12:51:33 -05:00
tst-unique3lib2.cc Remove gets declarations in C++ tests. 2012-01-25 16:50:17 +00:00
tst-unique3lib.cc Remove gets declarations in C++ tests. 2012-01-25 16:50:17 +00:00
tst-unique4.cc Remove gets declarations in C++ tests. 2012-01-25 16:50:17 +00:00
tst-unique4.h Fix resizing able for unique symbols when adding symbol for copy relocation 2011-05-12 21:59:09 -04:00
tst-unique4lib.cc Fix resizing able for unique symbols when adding symbol for copy relocation 2011-05-12 21:59:09 -04:00
unload2.c
unload2dep.c
unload2mod.c
unload3.c
unload3mod1.c
unload3mod2.c
unload3mod3.c
unload3mod4.c
unload4.c
unload4mod1.c
unload4mod2.c
unload4mod3.c
unload4mod4.c
unload5.c
unload6.c
unload6mod1.c
unload6mod2.c
unload6mod3.c
unload7.c
unload7mod1.c
unload7mod2.c
unload8.c Fix scope handling during dl_close 2011-08-24 09:32:13 +02:00
unload8mod1.c Fix scope handling during dl_close 2011-08-24 09:32:13 +02:00
unload8mod1x.c Fix scope handling during dl_close 2011-08-24 09:32:13 +02:00
unload8mod2.c Fix scope handling during dl_close 2011-08-24 09:32:13 +02:00
unload8mod3.c Fix scope handling during dl_close 2011-08-24 09:32:13 +02:00
unload.c
unloadmod.c
Versions New function _dl_find_dso_for_object 2013-02-18 18:00:17 +05:30
vismain.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
vismod1.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
vismod2.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
vismod3.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
vismod.h