Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Dec 2007 07:18:56 GMT
From:      das@FreeBSD.org
To:        dan@obluda.cz, das@FreeBSD.org, freebsd-bugs@FreeBSD.org
Subject:   Re: bin/83347: [patch] improper handling of malloc failures within libc's vfprintf
Message-ID:  <200712170718.lBH7Iuoa026349@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
Synopsis: [patch] improper handling of malloc failures within libc's vfprintf

State-Changed-From-To: open->closed
State-Changed-By: das
State-Changed-When: Mon Dec 17 07:14:28 UTC 2007
State-Changed-Why: 
If malloc fails, the program will SIGBUS on the next line anyway, so
there's no need to call abort(). This situation can only arise if the
programmer has asked printf() to handle a very long and bizarre series
of positional arguments after exhausting all available virtual memory,
so hopefully this won't be a big deal.

http://www.freebsd.org/cgi/query-pr.cgi?pr=83347



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