]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Don't segfault for a negative field width or precision in format string.
authorJim Meyering <jim@meyering.net>
Tue, 11 Mar 2003 20:25:18 +0000 (20:25 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 11 Mar 2003 20:25:18 +0000 (20:25 +0000)
commit257b85ca8e1e86627d041ef21bfabe61e399ae04
tree7ff6baccb50884239b5bb3f39f0afcf51b0a46bc
parent09ad938a09da2800326a6af7a963cd72990c9b05
Don't segfault for a negative field width or precision in format string.

(UNSPECIFIED): Define.
(print_direc): Use the special value, UNSPECIFIED, to indicate
that field_width or precision has not been specified.
(print_formatted): Fail if field_width or precision is the
special value, UNSPECIFIED.
src/printf.c