diff options
author | Jim Meyering <jim@meyering.net> | 2002-10-14 08:29:41 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-10-14 08:29:41 +0000 |
commit | bad450db5d35d67cb426a49a66b45c6c041cd401 (patch) | |
tree | 66ad62738a99f1f08b3b4397c602ce073d041f0a /src/system.h | |
parent | 8c11ff93d8019346b66cc88a09c742888b9d7c97 (diff) | |
download | coreutils-bad450db5d35d67cb426a49a66b45c6c041cd401.tar.xz |
Specifying a printf conversion specifer as nl's separator string
could cause nl to segfault.
(build_print_fmt): Don't include separator string
in the printf format; it might contain `%'.
Use a better bound on the length of the print_fmt buffer.
(print_lineno): Print the separator here instead.
Diffstat (limited to 'src/system.h')
0 files changed, 0 insertions, 0 deletions