Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 1997 11:28:24 +0900 (JST)
From:      Michael Hancock <michaelh@cet.co.jp>
To:        dk+@ua.net
Cc:        Alexander Snarskii <snar@lucky.net>, freebsd-hackers@FreeBSD.org
Subject:   Re: Increasing overall security....
Message-ID:  <Pine.SV4.3.95.970212103543.5799C-100000@parkplace.cet.co.jp>
In-Reply-To: <199702110604.WAA14933@dog.farm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 10 Feb 1997, Dmitry Kohmanyuk wrote:

> In article <199702091525.RAA05048@burka.carrier.kiev.ua> you wrote:
> > 'Why don't rewrite that functions to check the stack integrity
> > before return?' says Oleg Panaschenko sometimes ago, and after
> > some reflections i found that that is not so bad idea. Yes, we're
> > getting some overhead with using these functions rather than
> > with standard ones, but, as for me, this overhead is not so big
> > and a reason, that i can sleep without nightmares about another
> > stack overflow exploits is much important for me.
> 
> that's very good idea.  I don't understand the reasons from other people
> responding to this negatively.

Speaking for myself.  The author's original argument for this patch seemed
to be because there was no "Theo" in the FreeBSD group.  He was unaware of
the current situation and I informed him.

To play devil's advocate...

1) It requires assembler which is harder to understand.  Less people are
qualified to review it.  Relying on something harder to understand for
security is questionable. 

2) We don't know if it operates correctly.  Sendmail 8.8.5 has around 106
strcpy's in it and we don't know what the patch's effect will be in a
production environment. 

The author should probably instead try to get people to apply it in their
own environments and test it for him.  If there is enough popular demand
then people might make more effort to commit it. 

Just out of curiosity has this patch been submitted to OpenBSD?

Maybe future posts should be directed to security.

Regards,


Mike Hancock




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SV4.3.95.970212103543.5799C-100000>