bin/83347: [patch] improper handling of malloc failures within libc's vfprintf

das at FreeBSD.org das at FreeBSD.org
Sun Dec 16 23:18:57 PST 2007


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


More information about the freebsd-bugs mailing list