public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PING 4] Re: [PATCH]  warn for unsafe calls to __builtin_return_addres
@ 2015-07-14  3:33 Martin Sebor
  2015-07-21  1:58 ` [PING 5] " Martin Sebor
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Sebor @ 2015-07-14  3:33 UTC (permalink / raw)
  To: Gcc Patch List

Still looking for a review of this small patch to help detect
potentially unsafe calls to __builtin_{frame,return}_address
(with an argument > 2) that tend to either return bogus values
or lead to crashes at runtime.

The problem the function can cause was originally reported in
pr8743 and resolved by adding a note to the documentation. This
patch tweaks the documentation further to make the risks of
using the function that much clearer.

   https://gcc.gnu.org/ml/gcc-patches/2015-06/msg00886.html

Thanks
Martin

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PING 5] Re: [PATCH]  warn for unsafe calls to __builtin_return_addres
  2015-07-14  3:33 [PING 4] Re: [PATCH] warn for unsafe calls to __builtin_return_addres Martin Sebor
@ 2015-07-21  1:58 ` Martin Sebor
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Sebor @ 2015-07-21  1:58 UTC (permalink / raw)
  To: Gcc Patch List

Ping #5.

On 07/13/2015 09:33 PM, Martin Sebor wrote:
> Still looking for a review of this small patch to help detect
> potentially unsafe calls to __builtin_{frame,return}_address
> (with an argument > 2) that tend to either return bogus values
> or lead to crashes at runtime.
>
> The problem the function can cause was originally reported in
> pr8743 and resolved by adding a note to the documentation. This
> patch tweaks the documentation further to make the risks of
> using the function that much clearer.
>
>    https://gcc.gnu.org/ml/gcc-patches/2015-06/msg00886.html
>
> Thanks
> Martin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-20 23:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-14  3:33 [PING 4] Re: [PATCH] warn for unsafe calls to __builtin_return_addres Martin Sebor
2015-07-21  1:58 ` [PING 5] " Martin Sebor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).