Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 1998 23:37:36 -0500
From:      Zach Heilig <zach@gaffaneys.com>
To:        Bruce Evans <bde@zeta.org.au>, jdp@polstra.com
Cc:        current@FreeBSD.ORG, reilly@zeta.org.au
Subject:   Re: ELF binaries size
Message-ID:  <19980901233736.A3227@znh.org.>
In-Reply-To: <199809020256.MAA24042@godzilla.zeta.org.au>; from Bruce Evans on Wed, Sep 02, 1998 at 12:56:17PM %2B1000
References:  <199809020256.MAA24042@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 02, 1998 at 12:56:17PM +1000, Bruce Evans wrote:
> Perhaps a stack overflow exploit could change a write() arg on the stack
> to arrange for the text segment to be written to a user-readable file
> for further examination.

You don't even need that, consider this program:

#include <signal.h>
main() { raise(SIGQUIT); }

You just need to figure a way to send a SIGQUIT (the core file is
readable).

-- 
Zach Heilig -- zach@gaffaneys.com
Anyone who is capable of getting themselves made President should on no
account be allowed to do the job.
                -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980901233736.A3227>