about summary refs log tree commit diff
path: root/arch
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-08-11 11:48:06 -0400
committerRich Felker <dalias@aerifal.cx>2019-08-11 11:48:06 -0400
commitffab43602b5900c86b7040abdda8ccf6cdec95f5 (patch)
treeef39bf7191acb36065a44f7669e800df05d71c18 /arch
parent7844ecb590893f8344324837956718001402d297 (diff)
downloadmusl-ffab43602b5900c86b7040abdda8ccf6cdec95f5.tar.gz
musl-ffab43602b5900c86b7040abdda8ccf6cdec95f5.tar.xz
musl-ffab43602b5900c86b7040abdda8ccf6cdec95f5.zip
ldso: fix calloc misuse allocating initial tls
this is analogous to commit 2f1f51ae7b2d78247568e7fdb8462f3c19e469a4,
and should have been caught at the same time since it was right next
to the code moved in that commit. between final stage 3 reloc_all and
the jump to the main program's entry point, it is not valid to call
any functions which may be interposed by the application; doing so
results in execution of application code before ctors have run, and on
fdpic archs, before the main program's fdpic self-fixups have taken
place, which will produce runaway wrong execution.
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions