Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2002 13:36:57 +0000
From:      Nik Clayton <nik@freebsd.org>
To:        Dima Dorfman <dima@unixfreak.org>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: docs/26286: format string warnings in man pages.
Message-ID:  <20020109133657.C24425@clan.nothing-going-on.org>
In-Reply-To: <200104030140.f331e2556686@freefall.freebsd.org>; from dima@unixfreak.org on Mon, Apr 02, 2001 at 06:40:02PM -0700
References:  <200104030140.f331e2556686@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--32u276st3Jlj2kUU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Apr 02, 2001 at 06:40:02PM -0700, Dima Dorfman wrote:
>  The idea behind this is great, but I don't really like how the above
>  text is duplicated everywhere.  It seems unnatural.  Ideally, the
>  above would be replaced with a "see something(3) for information on
>  what [a format string] implies".  Unfortunately, I don't know what
>  this something(3) should be; printf(3) is the first thing that comes
>  to mind, but printf(3) documents a particular function; it just so
>  happens that most C programmers' first sight of a format string was in
>  the context of a call to printf().

There's a "Secure Programming" chapter in the Developer's Handbook.
Mike, could you put together some suitable text that could form the
basis of a "format string problems" section in there?

N
--=20
FreeBSD: The Power to Serve             http://www.freebsd.org/
FreeBSD Documentation Project           http://www.freebsd.org/docproj/

          --- 15B8 3FFC DDB4 34B0 AA5F  94B7 93A8 0764 2C37 E375 ---

--32u276st3Jlj2kUU
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjw8R3kACgkQk6gHZCw343XTdACfZeTji66Gr8qZBRkzT+JVsag1
qNoAnRR6iPeEPH8sRUU8bEYNblfqixBa
=zXHc
-----END PGP SIGNATURE-----

--32u276st3Jlj2kUU--

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




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