diff options
author | Rabin Vincent <rabinv@axis.com> | 2017-04-17 12:03:44 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-04-17 12:03:44 -0300 |
commit | 2604882cefd3281679b8177245fdebc7061b8695 (patch) | |
tree | 9c9f7ba9da605b92df7849ca7deba57e60dff3ac /mach/errorlib.h | |
parent | a12ae89f860229cbe5ba91f1f9cf17cc5a9ede31 (diff) | |
download | glibc-2604882cefd3281679b8177245fdebc7061b8695.tar.gz glibc-2604882cefd3281679b8177245fdebc7061b8695.tar.xz glibc-2604882cefd3281679b8177245fdebc7061b8695.zip |
[BZ 21357] unwind-dw2-fde: Call free() outside of unwind mutex
__deregister_frame_info_bases() calls free() while holding a mutex which is also used from _Unwind_Find_FDE(). This leads to a deadlock if AddressSanitizer uses _Unwind_Backtrace() from its free() implementation. Checked on mips-linux-gnu and x86_64-linux-gnu. [BZ #21357] * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases): Call free() outside of mutex.
Diffstat (limited to 'mach/errorlib.h')
0 files changed, 0 insertions, 0 deletions