Fix invalid memory access in do_lookup_x.
commit0479b305c5b7c8e3fa8e3002982cf8cac02b842e
authorAndreas Schwab <schwab@redhat.com>
Fri, 22 Jun 2012 18:10:31 +0000 (22 11:10 -0700)
committerCarlos O'Donell <carlos_odonell@mentor.com>
Fri, 22 Jun 2012 18:10:31 +0000 (22 11:10 -0700)
treef72a6cb6c122c086d6e7b5989e9d746c0c3431a1
parent0e3933b96344ab9c0ac633c19f4ebfdede5375d4
Fix invalid memory access in do_lookup_x.

[BZ #13579] Do not free l_initfini and allow it to be reused
on subsequent dl_open calls for the same library. This fixes
the invalid memory access in do_lookup_x when the previously
free'd l_initfini was accessed through l_searchlist when a
library had been opened for the second time.
ChangeLog
NEWS
elf/dl-close.c
elf/dl-deps.c
elf/dl-libc.c
elf/rtld.c
include/link.h