This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Avoid backtrace from __stack_chk_fail [BZ #12189]


* H. J. Lu:

> __stack_chk_fail is called on corrupted stack.  __stack_chk_fail should
> use as little stack as possible.  __libc_message is extended to avoid
> calling BEFORE_ABORT when do_abort >= 3 and __fortify_fail_abort is
> added to avoid backtrace from __stack_chk_fail.
>
> OK for master?

I think you should use an enum for do_abort and avoid the magic
numbers.

Could you post an example of the new output?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]