ensure canary is setup if stack-prot libs are dlopen'd into non-ssp app
authorRich Felker <dalias@aerifal.cx>
Sat, 25 Aug 2012 21:24:46 +0000 (17:24 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 25 Aug 2012 21:24:46 +0000 (17:24 -0400)
commit731e8ffdcf6877c04092aa9fbd2b17907b8846c7
tree0212e1ff8516eceab38bd1552322bee7dd11841c
parent2bd05a4fc26c297754f7ee5745a1c3b072a44b7d
ensure canary is setup if stack-prot libs are dlopen'd into non-ssp app

previously, this usage could lead to a crash if the thread pointer was
still uninitialized, and otherwise would just cause the canary to be
zero (less secure).
src/env/__stack_chk_fail.c
src/ldso/dynlink.c