Revision tags: release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
#
cc4c35b9 |
| 02-Aug-2008 |
David Schultz <das@FreeBSD.org> |
Teach fmtcheck() about wint_t, intmax_t, char *, intmax_t *, and wide string arguments.
Also simplify the code that handles length modifiers and make it more conservative. For instance, be explicit
Teach fmtcheck() about wint_t, intmax_t, char *, intmax_t *, and wide string arguments.
Also simplify the code that handles length modifiers and make it more conservative. For instance, be explicit about the modifiers allowed for %d, rather than assuming that anything other than L, q, t, or z implies an int argument.
show more ...
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0 |
|
#
3edb8f41 |
| 21-Mar-2005 |
David Schultz <das@FreeBSD.org> |
Teach fmtcheck() about the ' (thousands separator) flag.
|
Revision tags: release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0 |
|
#
38d17374 |
| 02-May-2004 |
David Schultz <das@FreeBSD.org> |
When *printf() and *scanf() are compiled without floating-point support, fmtcheck() should not accept format strings that contain floating-point formats.
|
Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0 |
|
#
ec045e41 |
| 29-Jun-2003 |
David Schultz <das@FreeBSD.org> |
Teach fmtcheck(3) about the flags a, A, F, G, t, and z.
|
Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs |
|
#
53154da0 |
| 27-Jun-2002 |
Daniel Eischen <deischen@FreeBSD.org> |
Remove improper use of <namespace.h>. Remove fmtcheck from application name space (fix the weak reference).
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
ea8d448a |
| 01-Feb-2002 |
David E. O'Brien <obrien@FreeBSD.org> |
Fix SCM ID's.
|
#
8af1452c |
| 13-Aug-2001 |
Ruslan Ermilov <ru@FreeBSD.org> |
Removed duplicate VCS ID tags, as per style(9).
|
#
54b8fe08 |
| 16-Jul-2001 |
Kris Kennaway <kris@FreeBSD.org> |
Remove unnecessary #include <stdlib.h>
Obtained from: NetBSD MFC After: 1 week
|
Revision tags: release/4.3.0_cvs, release/4.3.0 |
|
#
3d090549 |
| 17-Apr-2001 |
Kris Kennaway <kris@FreeBSD.org> |
Add fmtcheck(), a function for checking consistency of format string arguments where the format string is obtained from user data, or otherwise difficult to verify statically.
Example usage:
printf
Add fmtcheck(), a function for checking consistency of format string arguments where the format string is obtained from user data, or otherwise difficult to verify statically.
Example usage:
printf(fmtcheck(user_format, standard_format), arg1, arg2);
checks the format string user_format for consistency (same number/order/ type of format operators) with standard_format. If they differ, standard_format is used instead to avoid potential crashes or security violations.
Obtained from: NetBSD Reviewed by: -arch
show more ...
|