Date: Mon, 12 Dec 2005 14:31:15 -0800 (PST) From: George Paplas <geopapl@yahoo.com> To: Poul-Henning Kamp <phk@phk.freebsd.dk>, Peter Jeremy <PeterJeremy@optushome.com.au> Cc: arch@freebsd.org Subject: Re: printf behaviour with illegal or malformed format string Message-ID: <20051212223115.46960.qmail@web36306.mail.mud.yahoo.com> In-Reply-To: <3879.1134416139@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
--- Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> >>If it is not set, the format string will be output unformatted in
> >>the message "WARNING: Illegal printf() format string: \"...\".
> >
> >Since this check presumably applies to the entire *printf() family,
> >where do you report the error for {s,f}printf()?
>
> Whereever the strings was meant to go, what else can I do ?
And what if you are doing an sprintf to a buffer smaller than your
warning message?
-geop
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051212223115.46960.qmail>
