|
|||||||||||
|
Re: Need -fno-stack-protector to prevent stack corruption
From: Barry Scott <bscott(at)ridgewaysystems.com>
Date: Tue Jun 24 2003 - 05:18:40 EDT
Rebuilding python from the ports gets the same crash as well. BArry
-----Original Message-----
On Mon, Jun 23, 2003 at 11:29:09AM +0100, Barry Scott wrote:
it is quite easy to run into this trap. say you have an application "X", compiled on an older OpenBSD version. lets look at ldd output:
-lpng.1 => /usr/local/lib/libpng.so.1.8
-lc.25 => /usr/lib/libc.so.25.2
(I just left those two that are needed to demonstrate the problem). we see it links to an older libc - it doesn't have __guard. but you updated libpng. thus it needs __guard. libc is already loaded. no __guard symbol. kaboom. clean solution: recompile the binary.
ugly hack:
-- http://2suck.net/hhwl.html - http://www.bsws.de/ Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)Received on Tue Jun 24 05:33:10 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:48:42 EDT |
||||||||||
|
|||||||||||