[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] stack smashing on i686 with -O3 since da82d07
From: |
Tony Theodore |
Subject: |
Re: [Mingw-cross-env-list] stack smashing on i686 with -O3 since da82d07dbe |
Date: |
Fri, 23 Oct 2015 00:36:48 +1100 |
> On 22 Oct 2015, at 18:41, Moritz Bunkus <address@hidden> wrote:
>
> As I compile with -fstack-protector-strong I get the nice message "***
> stack smashing detected ***" – before any of my code has any chance of
> running, BTW.
We should probably enable it across the board in gcc[1]:
--enable-default-ssp
Turn on -fstack-protector-strong by default.
as it seems like a reasonable default - the `*strong` setting looks much
more versatile than `ssp-buffer-size`.
Cheers,
Tony
[1]https://gcc.gnu.org/install/configure.html
- [Mingw-cross-env-list] stack smashing on i686 with -O3 since da82d07dbe, Moritz Bunkus, 2015/10/22
- Re: [Mingw-cross-env-list] stack smashing on i686 with -O3 since da82d07dbe, Tony Theodore, 2015/10/22
- Re: [Mingw-cross-env-list] stack smashing on i686 with -O3 since da82d07dbe,
Tony Theodore <=
- Re: [Mingw-cross-env-list] stack smashing on i686 with -O3 since da82d07dbe, Nagaev Boris, 2015/10/23
- Re: [Mingw-cross-env-list] stack smashing on i686 with -O3 since da82d07dbe, Moritz Bunkus, 2015/10/23
- Re: [Mingw-cross-env-list] stack smashing on i686 with -O3 since da82d07dbe, Nagaev Boris, 2015/10/23
- Re: [Mingw-cross-env-list] stack smashing on i686 with -O3 since da82d07dbe, Moritz Bunkus, 2015/10/24
- Re: [Mingw-cross-env-list] stack smashing on i686 with -O3 since da82d07dbe, Nagaev Boris, 2015/10/24
- Re: [Mingw-cross-env-list] stack smashing on i686 with -O3 since da82d07dbe, Moritz Bunkus, 2015/10/25
- Re: [Mingw-cross-env-list] stack smashing on i686 with -O3 since da82d07dbe, Tony Theodore, 2015/10/25
- Re: [Mingw-cross-env-list] stack smashing on i686 with -O3 since da82d07dbe, Moritz Bunkus, 2015/10/25
- Re: [Mingw-cross-env-list] stack smashing on i686 with -O3 since da82d07dbe, Tony Theodore, 2015/10/25