summaryrefslogtreecommitdiff
path: root/libm/w_gamma.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-19 10:38:25 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-19 10:38:25 +0000
commite96b985e27df3779617b6747db05d4b0526d84ba (patch)
treef9cdd0953230783e1be3614451d286c1ec59bfbf /libm/w_gamma.c
parentf2a380e14cec0aefd3375a5977b08aeb22029556 (diff)
Frank Mehnert writes:
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().
Diffstat (limited to 'libm/w_gamma.c')
0 files changed, 0 insertions, 0 deletions