diff options
author | 2001-02-17 17:15:23 +0000 | |
---|---|---|
committer | 2001-02-17 17:15:23 +0000 | |
commit | b0ed670646ea0058f364117b433138be559b6913 (patch) | |
tree | dc42ad68a45bb7e5db915df6fc6dc5806bc98fd2 /lib/libc/stdio | |
parent | Document behaviour with a NULL format string, and try to not split infinitives (diff) | |
download | wireguard-openbsd-b0ed670646ea0058f364117b433138be559b6913.tar.xz wireguard-openbsd-b0ed670646ea0058f364117b433138be559b6913.zip |
It's not that I mind split infinitives. I just like to save'em for when
they're really needed.
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r-- | lib/libc/stdio/printf.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3 index c9779a5f02d..be0c6b1980b 100644 --- a/lib/libc/stdio/printf.3 +++ b/lib/libc/stdio/printf.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: printf.3,v 1.32 2000/12/24 00:30:59 aaron Exp $ +.\" $OpenBSD: printf.3,v 1.33 2001/02/17 17:15:27 pjanzen Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -685,7 +685,7 @@ systems and the .Fn asprintf interface is not portable. .Pp -It is important to never pass a string with user-supplied data as a +It is important never to pass a string with user-supplied data as a format without using .Ql %s . An attacker can put format specifiers in the string to mangle your stack, |