Date: Mon, 12 Dec 2005 17:18:42 +0100 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Joseph Koshy <joseph.koshy@gmail.com> Cc: arch@freebsd.org Subject: Re: printf behaviour with illegal or malformed format string Message-ID: <3047.1134404322@critter.freebsd.dk> In-Reply-To: Your message of "Mon, 12 Dec 2005 21:46:37 %2B0530." <84dead720512120816t7c907c3aq9add32c5dc8b9a38@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <84dead720512120816t7c907c3aq9add32c5dc8b9a38@mail.gmail.com>, Joseph Koshy writes: >Why not just print the warning for both cases, and >stop interpreting the format string any further. > >What do we gain by having a uid 0 process dump core? I'm not very keen on producing wrong output from uid0 programs without giving the programmer a way to handle the problem correctly. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3047.1134404322>