Age | Commit message (Collapse) | Author |
|
in ldso/ldso.c, function _dl_get_ready_to_run, the variable app_tpnt_tmp
is not initialized. The function _dl_parse_dynamic_info() initializes
some of their members but not all. For example, if the binary does _not_
contain a DT_TEXTREL record, it is possible that the condition
if (app_tpnt->dynamic_info[DT_TEXTREL])
is nevertheless true and we therefore enter the following code path
(ldso.c:270).
My suggestion is to add
_dl_memset(&app_tpnt_rel, 0, sizeof(app_tpnt_rel));
just behind the variable declarations of _dl_get_ready_to_run().
|
|
|
|
|
|
|
|
specific header file to make porting/updates a lot easier
|
|
|
|
|
|
the default
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
init_fini_list
|
|
|
|
of __attribute__ ...
|
|
use r3 instead to pass _dl_fini.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
only headers
|
|
a loop
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ldso/ldso, that will exist if top_srcdir != top_builddir.
|
|
|
|
|
|
|
|
foreign objects to a lib
|
|
common ldso/libdl parts to Rules.mak, remove strip from all TARGET_ARCH
|
|
|
|
matters for NPTL libpthreads to work. Well, that was a nice waste of 3 hours.
|
|
|
|
|
|
|