Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Apr 2001 17:13:31 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        "D. K." <dk@homepage.ru>
Cc:        security@FreeBSD.ORG, freebsd-standards@bostonradio.org
Subject:   Re: FreeBSD grow bug
Message-ID:  <200104192113.RAA40978@khavrinen.lcs.mit.edu>
In-Reply-To: <3ADF5442.BD703D6@homepage.ru>
References:  <3ADF4DD0.17AB0F64@homepage.ru> <200104192042.QAA40625@khavrinen.lcs.mit.edu> <3ADF5442.BD703D6@homepage.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Fri, 20 Apr 2001 01:10:26 +0400, "D. K." <dk@homepage.ru> said:

> You are not right

To quote from the Austin Group draft 6:

	The format can contain either numbered argument conversion
	specifications (that is, "%n$" and "*m$"), or unnumbered
	argument conversion specifications (that is, % and *), but not
	                                                       ^^^^^^^
	both. The only exception to this is that %% can be mixed with
	^^^^^
	the "%n$" form. The results of mixing numbered and unnumbered
	argument specifications in a format string are undefined. When
	numbered argument specifications are used, specifying the Nth
	                                           ^^^^^^^^^^^^^^^^^^
	argument requires that all the leading arguments, from the
	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
	first to the (N-1)th, are specified in the format string.
	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The exact same language, spread out over several paragraphs, appears
in the Single UNIX Spec version 2.

-GAWollman


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




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