diff options
author | chris <chris@FreeBSD.org> | 2002-07-03 15:31:47 +0000 |
---|---|---|
committer | chris <chris@FreeBSD.org> | 2002-07-03 15:31:47 +0000 |
commit | c54abf6b0478b1b083c2dec6dede683ffb418e4e (patch) | |
tree | 9788d62c17f80f4470fdd82de4f472a1ac3c70d7 /lib | |
parent | 3001e6d4c96c8c99687945263696371abdb14116 (diff) | |
download | FreeBSD-src-c54abf6b0478b1b083c2dec6dede683ffb418e4e.zip FreeBSD-src-c54abf6b0478b1b083c2dec6dede683ffb418e4e.tar.gz |
Move appropriate information out of `DESCRIPTION' and into `SECURITY
CONSIDERATIONS'.
Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gen/fmtcheck.3 | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/libc/gen/fmtcheck.3 b/lib/libc/gen/fmtcheck.3 index e11687d..64fbf2d 100644 --- a/lib/libc/gen/fmtcheck.3 +++ b/lib/libc/gen/fmtcheck.3 @@ -81,18 +81,6 @@ the field width or precision is an asterisk .Ql * instead of a digit string). Also, any text other than the format specifiers is completely ignored. -.Pp -Note that the formats may be quite different as long as they accept the -same parameters. For example, -.Qq Li "%p %o %30s %#llx %-10.*e %n" -is compatible with -.Qq Li "This number %lu %d%% and string %s has %qd numbers and %.*g floats (%n)" . -However, -.Qq Li %o -is not equivalent to -.Qq Li %lx -because -the first requires an integer and the second requires a long. .Sh RETURN VALUES If .Fa fmt_suspect @@ -104,5 +92,17 @@ will return .Fa fmt_suspect . Otherwise, it will return .Fa fmt_default . +.Sh SECURITY CONSIDERATIONS +Note that the formats may be quite different as long as they accept the +same parameters. For example, +.Qq Li "%p %o %30s %#llx %-10.*e %n" +is compatible with +.Qq Li "This number %lu %d%% and string %s has %qd numbers and %.*g floats (%n)" . +However, +.Qq Li %o +is not equivalent to +.Qq Li %lx +because +the first requires an integer and the second requires a long. .Sh SEE ALSO .Xr printf 3 |