From owner-freebsd-security@FreeBSD.ORG Mon Apr 21 21:49:52 2014 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BBDC319C for ; Mon, 21 Apr 2014 21:49:52 +0000 (UTC) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 9C1B91AF7 for ; Mon, 21 Apr 2014 21:49:52 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 61B4B3AE6E for ; Mon, 21 Apr 2014 14:49:45 -0700 (PDT) From: "Ronald F. Guilmette" To: freebsd-security@freebsd.org Subject: Re: De Raadt + FBSD + OpenSSH + hole? In-Reply-To: Date: Mon, 21 Apr 2014 14:49:45 -0700 Message-ID: <98152.1398116985@server1.tristatelogic.com> X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2014 21:49:52 -0000 In message , Christian Kratzer wrote: >On Mon, 21 Apr 2014, Ronald F. Guilmette wrote: >> >> In message <53546795.9050304@quietfountain.com>, >> "hcoin" wrote: >> >>> ... It is for the community to decide whether it is 'worth it' >>> on a case by case basis given there is no way to prove a program >>> 'correct' from a security perspective. >> >> I guess that I was sick that day in software school. >> >> Did I just hear you tell me that I can't prove the following program >> is "secure"? >> >> >> int >> main (void) >> { >> return 0; >> } > >in an ideal world you could propably. The difficulty ist that even >above seemingly trival snippet of code is run after initialization of >the c runtime library and some pre processing of argc, argv. > >It gets more complex with c++ contstructors run before main. > >If gets even more complex the more software components interact in >wierd and wonderfull ways. At the risk of stating the obvious... Complexity != Impossibility I think that we need better tools. But then again, I have always thought that, and undoubtedly always will. Regards, rfg