Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Dec 2007 18:15:05 +0100
From:      Dan Lukes <dan@obluda.cz>
To:        Bruce Evans <brde@optusnet.com.au>
Cc:        das@FreeBSD.org, freebsd-bugs@FreeBSD.org
Subject:   Re: bin/83347: [patch] improper handling of malloc failures within libc's vfprintf
Message-ID:  <4766AE99.6040405@obluda.cz>
In-Reply-To: <20071218033221.X31158@delplex.bde.org>
References:  <200712170718.lBH7Iuoa026349@freefall.freebsd.org> <20071218033221.X31158@delplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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