Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Need -fno-stack-protector to prevent stack corruption

From: Barry Scott <bscott(at)ridgewaysystems.com>
Date: Mon Jun 23 2003 - 16:10:42 EDT


All you need to reproduce the problem is in:

http://www.barrys-emacs.org/stack-protector-problem.tar.gz

Barry

-----Original Message-----

From: Barry Scott
Sent: 23 June 2003 11:29
To: tech@openbsd.org
Subject: Need -fno-stack-protector to prevent stack corruption

We're just got to the bottom of a stack corruption in a python extension written in C++.

I do not know the exact nature of the corruption but adding
-fno-stack-protector fixes the crash.
What we see is that the value returned from new is corrupted. The value of this at the end of
the c'tor was reasonable.

I can supply source code and test scripts that demonstrates the problem against
OpenBSD 3.3 Release.

Barry Received on Mon Jun 23 16:25:26 2003

Do you need help?X

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:48:42 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library