mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-05 19:35:52 +03:00
PLT avoidance for __stack_chk_fail [BZ #7065]
Add a hidden __stack_chk_fail_local alias to libc.so, and make sure that on targets which use __stack_chk_fail, this does not introduce a local PLT reference into libc.so.
This commit is contained in:
committed by
Florian Weimer
parent
66a704c43c
commit
524a8ef2ad
@@ -27,3 +27,5 @@ __stack_chk_fail (void)
|
||||
{
|
||||
__fortify_fail ("stack smashing detected");
|
||||
}
|
||||
|
||||
strong_alias (__stack_chk_fail, __stack_chk_fail_local)
|
||||
|
Reference in New Issue
Block a user