From owner-freebsd-bugs@FreeBSD.ORG Mon Dec 17 17:15:52 2007 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A2D816A468; Mon, 17 Dec 2007 17:15:52 +0000 (UTC) (envelope-from dan@obluda.cz) Received: from smtp1.kolej.mff.cuni.cz (smtp1.kolej.mff.cuni.cz [78.128.192.4]) by mx1.freebsd.org (Postfix) with ESMTP id 8B3A013C4DB; Mon, 17 Dec 2007 17:15:51 +0000 (UTC) (envelope-from dan@obluda.cz) X-Envelope-From: dan@obluda.cz X-DomainKeys: Sendmail DomainKeys Filter v0.6.0 smtp1.kolej.mff.cuni.cz lBHHFY19005812 Received: from kulesh.obluda.cz (openvpn.ms.mff.cuni.cz [195.113.20.87]) by smtp1.kolej.mff.cuni.cz (8.13.8/8.13.8) with ESMTP id lBHHFY19005812; Mon, 17 Dec 2007 18:15:36 +0100 (CET) (envelope-from dan@obluda.cz) Message-ID: <4766AE99.6040405@obluda.cz> Date: Mon, 17 Dec 2007 18:15:05 +0100 From: Dan Lukes User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.9) Gecko/20071109 SeaMonkey/1.1.6 MIME-Version: 1.0 To: Bruce Evans References: <200712170718.lBH7Iuoa026349@freefall.freebsd.org> <20071218033221.X31158@delplex.bde.org> In-Reply-To: <20071218033221.X31158@delplex.bde.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: das@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/83347: [patch] improper handling of malloc failures within libc's vfprintf X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 17:15:52 -0000 Bruce Evans napsal/wrote, On 12/17/07 17:49: > I prefer following the NULL pointer to aborting. Are you sure the *(NULL) raise exception on all platforms (at least on supported platforms) ? Well. Forged about it - I claimed it's up to you despite I disagree. The professional applications shall never failed by the uncontrolled way saying just "internal error" to user. It can be acceptable for gurus, but it's not so nice for casual users. On the other side, The FreeBSD has pile of more serious problem so I don't want to declare holy war about this detail. We can use our own implementation that has predictable results. Thank you for your time. Dan -- Dan Lukes SISAL MFF UK AKA: dan at obluda.cz, dan at freebsd.cz, dan at (kolej.)mff.cuni.cz