[hardening-discuss] -DFORTIFY_SOURCE seems to cause SIGBUS on sparc
Stefan Fritsch
sf at sfritsch.de
Sat Jul 19 19:33:29 UTC 2008
Hi Kees,
On Thursday 19 June 2008, Kees Cook wrote:
> On Thu, Jun 19, 2008 at 08:38:33PM +0200, Stefan Fritsch wrote:
> > I had this bug report which seems to point to gcc doing something
> > wrong on sparc with -DFORTIFY_SOURCE and causing SIGBUS:
> >
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485525
> Any chance of getting a minimal reproducer so we can open a gcc or
> glibc bug for it?
it seems my initial thought was wrong and it was not -DFORTIFY_SOURCE
but just gcc 4.3 being more aggressive at optimizing memcpy()s away.
When I have time, I will check if the patched apache still works
with -DFORTIFY_SOURCE.
Cheers,
Stefan
More information about the hardening-discuss
mailing list