OSDN Git Service

Fix by Martin Schlemmer:
authorMike Frysinger <vapier@gentoo.org>
Thu, 8 Sep 2005 02:29:37 +0000 (02:29 -0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 8 Sep 2005 02:29:37 +0000 (02:29 -0000)
commit073cd03a2c5b0eb6c0872622f840f4a9724a9b04
tree4a88ed2b1501a63d036a9d928e08e9841c8b414f
parentee11fb2608a02a6563bc38dc1bc38510fcc0ab9e
Fix by Martin Schlemmer:
If _DL_FINI_CRT_COMPAT is defined, _dl_fini is setup to run at exit via
atexit(), but this makes it run _before_ the fini (__app_fini()) of the
app, causing stuff like sandbox that frees structs, etc via its fini to
segfault.
http://bugs.gentoo.org/98187
ldso/ldso/ldso.c
libc/misc/internals/__uClibc_main.c
libc/stdlib/atexit.c