From: millert Date: Fri, 23 May 2014 15:37:23 +0000 (+0000) Subject: Document that v?dprintf() is just as safe as v?snprintf(). OK espie@ X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=da9d52db9a3d4630ab84d4c7ccb58b1e97dbc656;p=openbsd Document that v?dprintf() is just as safe as v?snprintf(). OK espie@ --- diff --git a/lib/libc/gen/signal.3 b/lib/libc/gen/signal.3 index 61d50728334..e46f3607de3 100644 --- a/lib/libc/gen/signal.3 +++ b/lib/libc/gen/signal.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: signal.3,v 1.43 2014/01/21 03:15:45 schwarze Exp $ +.\" $OpenBSD: signal.3,v 1.44 2014/05/23 15:37:23 millert Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: January 21 2014 $ +.Dd $Mdocdate: May 23 2014 $ .Dt SIGNAL 3 .Os .Sh NAME @@ -442,6 +442,10 @@ except when used with floating-point arguments or directives, but are probably unsafe on other systems: .Pp .Bl -tag -offset indent -compact -width foofoofoofoo +.It Fn dprintf +Safe. +.It Fn vdprintf +Safe. .It Fn snprintf Safe. .It Fn vsnprintf diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2 index 76ab2a94cb9..294f86ebf00 100644 --- a/lib/libc/sys/sigaction.2 +++ b/lib/libc/sys/sigaction.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sigaction.2,v 1.54 2014/01/21 03:15:45 schwarze Exp $ +.\" $OpenBSD: sigaction.2,v 1.55 2014/05/23 15:37:23 millert Exp $ .\" $NetBSD: sigaction.2,v 1.7 1995/10/12 15:41:16 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)sigaction.2 8.2 (Berkeley) 4/3/94 .\" -.Dd $Mdocdate: January 21 2014 $ +.Dd $Mdocdate: May 23 2014 $ .Dt SIGACTION 2 .Os .Sh NAME @@ -671,6 +671,10 @@ except when used with floating-point arguments or directives, but are probably unsafe on other systems: .Pp .Bl -tag -offset indent -compact -width foofoofoofoo +.It Fn dprintf +Safe. +.It Fn vdprintf +Safe. .It Fn snprintf Safe. .It Fn vsnprintf