Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2019 14:35:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 241905] SSP setup is not thread-safe ?
Message-ID:  <bug-241905-29464-YTKy32lpXN@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-241905-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-241905-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241905

Kyle Evans <kevans@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #209102|text/x-csrc                 |text/plain
          mime type|                            |

--- Comment #7 from Kyle Evans <kevans@freebsd.org> ---
Created attachment 209102
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D209102&action=
=3Dedit
minimal reproducer-ish

Attaching a minimal producer- obviously your mileage may vary, compiled wit=
h "
cc -fstack-protector-all -O0 -static -pthread repro.c" for optimal effect, =
then
ran in a loop `for i in $(seq 1 100); do ./a.out; done` because I wasn't su=
re
how to tune it more effectively when I'm trying to get it to race against a
constructor in libc. Adding more runtime to the misnamed ssp_canary_killer
would also help reproduce, but that takes more energy.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241905-29464-YTKy32lpXN>